#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. | |
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 2016 of file OSResult.h.
OptimizationResult::OptimizationResult | ( | ) |
OptimizationResult::~OptimizationResult | ( | ) |
Class destructor.
Definition at line 1073 of file OSResult.cpp.
References numberOfSolutions, otherSolverOutput, and solution.
OptimizationResult::OptimizationResult | ( | ) |
Default constructor.
OptimizationResult::~OptimizationResult | ( | ) |
Class destructor.
bool OptimizationResult::IsEqual | ( | OptimizationResult * | that | ) |
numberOfSolubitons is the number of objective functions reported.
Definition at line 2022 of file OSResult.h.
Referenced by OSResult::getBasisVar(), OSResult::getBasisVarIdx(), OSResult::getNumberOfBasisVar(), OSResult::getNumberOfOtherVariableResults(), OSResult::getNumberOfPrimalVariableValues(), OSResult::getNumberOfSolutionSubstatuses(), OSResult::getNumberOfVarValues(), OSResult::getNumberOfVarValuesString(), OSResult::getSolutionMessage(), OSResult::getSolutionNumber(), OSResult::getSolutionStatus(), OSResult::getSolutionStatusDescription(), OSResult::getSolutionStatusType(), OSResult::getSolutionSubstatusDescription(), OSResult::getSolutionSubstatusType(), OSResult::getSolutionTargetObjectiveIdx(), OSResult::getSolutionWeightedObjectives(), OSResult::getVarValue(), OSResult::getVarValueIdx(), OSResult::getVarValueString(), OSResult::getVarValueStringIdx(), OSResult::setBasisVar(), OSResult::setNumberOfBasisVar(), OSResult::setNumberOfVarValues(), OSResult::setNumberOfVarValuesString(), OSResult::setSolutionNumber(), OSResult::setVarValue(), OSResult::setVarValueString(), and ~OptimizationResult().
numberOfVariables is the number of variables reported in the solution.
Definition at line 2027 of file OSResult.h.
Referenced by OSResult::getVariableNumber(), and OSResult::setVariableNumber().
numberOfObjectives is the number of objective functions reported in the solution.
Definition at line 2032 of file OSResult.h.
Referenced by OSResult::getObjectiveNumber(), and OSResult::setObjectiveNumber().
numberOfConstrants is the number of constraint functions reported in the solution.
Definition at line 2037 of file OSResult.h.
Referenced by OSResult::getConstraintNumber(), and OSResult::setConstraintNumber().
solution is an array of pointers to OptimizationSolution objects
Definition at line 2042 of file OSResult.h.
Referenced by OSResult::getAnOtherVariableResultNumberOfVar(), OSResult::getBasisVar(), OSResult::getBasisVarIdx(), OSResult::getDualValue(), OSResult::getDualValueIdx(), OSResult::getNumberOfBasisVar(), OSResult::getNumberOfDualValues(), OSResult::getNumberOfObjValues(), OSResult::getNumberOfOtherConstraintResults(), OSResult::getNumberOfOtherObjectiveResults(), OSResult::getNumberOfOtherSolutionResults(), OSResult::getNumberOfOtherVariableResults(), OSResult::getNumberOfPrimalVariableValues(), OSResult::getNumberOfSolutionSubstatuses(), OSResult::getNumberOfVarValues(), OSResult::getNumberOfVarValuesString(), OSResult::getObjValue(), OSResult::getObjValueIdx(), OSResult::getOptimalDualVariableValues(), OSResult::getOptimalPrimalVariableValues(), OSResult::getOtherConstraintResultCon(), OSResult::getOtherConstraintResultConIdx(), OSResult::getOtherConstraintResultDescription(), OSResult::getOtherConstraintResultName(), OSResult::getOtherConstraintResultNumberOfCon(), OSResult::getOtherConstraintResultValue(), OSResult::getOtherObjectiveResultDescription(), OSResult::getOtherObjectiveResultName(), OSResult::getOtherObjectiveResultNumberOfObj(), OSResult::getOtherObjectiveResultObj(), OSResult::getOtherObjectiveResultObjIdx(), OSResult::getOtherObjectiveResultValue(), OSResult::getOtherSolutionResultCategory(), OSResult::getOtherSolutionResultDescription(), OSResult::getOtherSolutionResultItem(), OSResult::getOtherSolutionResultName(), OSResult::getOtherSolutionResultNumberOfItems(), OSResult::getOtherVariableResultDescription(), OSResult::getOtherVariableResultName(), OSResult::getOtherVariableResultNumberOfVar(), OSResult::getOtherVariableResultValue(), OSResult::getOtherVariableResultVar(), OSResult::getOtherVariableResultVarIdx(), OSResult::getSolutionMessage(), OSResult::getSolutionNumber(), OSResult::getSolutionStatus(), OSResult::getSolutionStatusDescription(), OSResult::getSolutionStatusType(), OSResult::getSolutionSubstatusDescription(), OSResult::getSolutionSubstatusType(), OSResult::getSolutionTargetObjectiveIdx(), OSResult::getSolutionWeightedObjectives(), OSResult::getVarValue(), OSResult::getVarValueIdx(), OSResult::getVarValueString(), OSResult::getVarValueStringIdx(), main(), OSResult::setBasisVar(), OSResult::setConstraintValues(), OSResult::setDualVariableValues(), OSResult::setNumberOfBasisVar(), OSResult::setNumberOfOtherVariableResults(), OSResult::setNumberOfPrimalVariableValues(), OSResult::setNumberOfSolutionSubstatuses(), OSResult::setNumberOfVarValues(), OSResult::setNumberOfVarValuesString(), OSResult::setObjectiveValues(), OSResult::setPrimalVariableValues(), OSResult::setPrimalVariableValuesDense(), OSResult::setPrimalVariableValuesSparse(), OSResult::setSolutionMessage(), OSResult::setSolutionNumber(), OSResult::setSolutionObjectiveIndex(), OSResult::setSolutionStatusDescription(), OSResult::setSolutionStatusType(), OSResult::setSolutionSubstatusDescription(), OSResult::setSolutionSubstatusType(), OSResult::setSolutionTargetObjectiveIdx(), OSResult::setSolutionWeightedObjectives(), OSResult::setVarValue(), OSResult::setVarValueString(), OSrL2Gams::writeSolution(), and ~OptimizationResult().
otherSolverOutput is a pointer to an OtherSolverOutput object
Definition at line 2047 of file OSResult.h.
Referenced by OSResult::getNumberOfSolverOutputs(), OSResult::getSolverOutputCategory(), OSResult::getSolverOutputDescription(), OSResult::getSolverOutputItem(), OSResult::getSolverOutputName(), OSResult::getSolverOutputNumberOfItems(), OSResult::setNumberOfSolverOutputs(), and ~OptimizationResult().
solution is an array of pointers to OptimizationSolution objects
Definition at line 1275 of file OSResult.h.