#include <OSResult.h>
Collaboration diagram for OptimizationResult:

Public Member Functions | |
| OptimizationResult () | |
| Default constructor. | |
| ~OptimizationResult () | |
| Class destructor. | |
| bool | IsEqual (OptimizationResult *that) |
| A function to check for the equality of two objects. | |
| bool | setRandom (double density, bool conformant) |
| A function to make a random instance of this class. | |
| OptimizationResult () | |
| Default constructor. | |
| ~OptimizationResult () | |
| Class destructor. | |
Public Attributes | |
| int | numberOfSolutions |
| numberOfSolubitons is the number of objective functions reported. | |
| int | numberOfVariables |
| numberOfVariables is the number of variables reported in the solution. | |
| int | numberOfObjectives |
| numberOfObjectives is the number of objective functions reported in the solution. | |
| int | numberOfConstraints |
| numberOfConstrants is the number of constraint functions reported in the solution. | |
| OptimizationSolution ** | solution |
| solution is an array of pointers to OptimizationSolution objects | |
| OtherSolverOutput * | otherSolverOutput |
| otherSolverOutput is a pointer to an OtherSolverOutput object | |
| OptimizationSolution ** | solution |
| solution is an array of pointers to OptimizationSolution objects | |
Definition at line 2143 of file OSResult.h.
| OptimizationResult::OptimizationResult | ( | ) |
| OptimizationResult::~OptimizationResult | ( | ) |
Class destructor.
Definition at line 1016 of file OSResult.cpp.
References numberOfSolutions, otherSolverOutput, and solution.
| OptimizationResult::OptimizationResult | ( | ) |
Default constructor.
| OptimizationResult::~OptimizationResult | ( | ) |
Class destructor.
| bool OptimizationResult::IsEqual | ( | OptimizationResult * | that | ) |
| bool OptimizationResult::setRandom | ( | double | density, | |
| bool | conformant | |||
| ) |
A function to make a random instance of this class.
| density,: | corresponds to the probability that a particular child element is created | |
| conformant,: | if true enforces side constraints not enforceable in the schema (e.g., agreement of "numberOfXXX" atrbutes and <XXX> children) |
Definition at line 7637 of file OSResult.cpp.
References OptimizationSolution::setRandom(), and solution.
numberOfSolubitons is the number of objective functions reported.
Definition at line 2149 of file OSResult.h.
Referenced by OSResult::getBasisStatusEl(), OSResult::getBasisStatusNumberOfEl(), OSResult::getNumberOfOtherVariableResults(), OSResult::getOtherConstraintResultEnumerationDescription(), OSResult::getOtherConstraintResultEnumerationEl(), OSResult::getOtherConstraintResultEnumerationNumberOfEl(), OSResult::getOtherConstraintResultEnumerationValue(), OSResult::getOtherObjectiveResultEnumerationDescription(), OSResult::getOtherObjectiveResultEnumerationEl(), OSResult::getOtherObjectiveResultEnumerationNumberOfEl(), OSResult::getOtherObjectiveResultEnumerationValue(), OSResult::getOtherVariableResultEnumerationDescription(), OSResult::getOtherVariableResultEnumerationEl(), OSResult::getOtherVariableResultEnumerationNumberOfEl(), OSResult::getOtherVariableResultEnumerationValue(), OSResult::setBasisStatus(), OSResult::setOtherOptionEnumeration(), tempPrintArrays(), and ~OptimizationResult().
numberOfVariables is the number of variables reported in the solution.
Definition at line 2154 of file OSResult.h.
Referenced by OSResult::getVariableNumber().
numberOfObjectives is the number of objective functions reported in the solution.
Definition at line 2159 of file OSResult.h.
Referenced by OSResult::getObjectiveNumber().
numberOfConstrants is the number of constraint functions reported in the solution.
Definition at line 2164 of file OSResult.h.
Referenced by OSResult::getConstraintNumber().
solution is an array of pointers to OptimizationSolution objects
Definition at line 2169 of file OSResult.h.
Referenced by OSResult::getBasisStatusEl(), OSResult::getBasisStatusNumberOfEl(), OSResult::getNumberOfOtherVariableResults(), OSResult::getOtherConstraintResultEnumerationDescription(), OSResult::getOtherConstraintResultEnumerationEl(), OSResult::getOtherConstraintResultEnumerationNumberOfEl(), OSResult::getOtherConstraintResultEnumerationValue(), OSResult::getOtherObjectiveResultEnumerationDescription(), OSResult::getOtherObjectiveResultEnumerationEl(), OSResult::getOtherObjectiveResultEnumerationNumberOfEl(), OSResult::getOtherObjectiveResultEnumerationValue(), OSResult::getOtherVariableResultEnumerationDescription(), OSResult::getOtherVariableResultEnumerationEl(), OSResult::getOtherVariableResultEnumerationNumberOfEl(), OSResult::getOtherVariableResultEnumerationValue(), main(), OSResult::setBasisStatus(), OSResult::setConstraintValues(), OSResult::setDualVariableValues(), OSResult::setObjectiveValues(), OSResult::setOtherOptionEnumeration(), OSResult::setPrimalVariableValues(), setRandom(), OSResult::setSolutionObjectiveIndex(), tempPrintArrays(), OSrL2Gams::writeSolution(), and ~OptimizationResult().
otherSolverOutput is a pointer to an OtherSolverOutput object
Definition at line 2174 of file OSResult.h.
Referenced by OSResult::setNumberOfSolverOutputs(), and ~OptimizationResult().
solution is an array of pointers to OptimizationSolution objects
Definition at line 1275 of file OSResult.h.
1.4.7