#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 1969 of file OSResult.h.
OptimizationResult::OptimizationResult | ( | ) |
OptimizationResult::~OptimizationResult | ( | ) |
Class destructor.
Definition at line 1054 of file OSResult.cpp.
References numberOfSolutions, otherSolverOutput, and solution.
OptimizationResult::OptimizationResult | ( | ) |
Default constructor.
OptimizationResult::~OptimizationResult | ( | ) |
Class destructor.
bool OptimizationResult::IsEqual | ( | OptimizationResult * | that | ) |
A function to check for the equality of two objects.
Definition at line 5244 of file OSResult.cpp.
References numberOfConstraints, numberOfObjectives, numberOfSolutions, numberOfVariables, otherSolverOutput, and solution.
numberOfSolubitons is the number of objective functions reported.
Definition at line 1975 of file OSResult.h.
Referenced by 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(), IsEqual(), OSResult::setBasisStatus(), OSResult::setDualValue(), OSResult::setNumberOfDualValues(), OSResult::setNumberOfObjValues(), OSResult::setNumberOfVarValues(), OSResult::setNumberOfVarValuesString(), OSResult::setObjValue(), OSResult::setOtherOptionEnumeration(), OSResult::setSolutionNumber(), OSResult::setVarValue(), OSResult::setVarValueString(), and ~OptimizationResult().
numberOfVariables is the number of variables reported in the solution.
Definition at line 1980 of file OSResult.h.
Referenced by OSResult::getVariableNumber(), IsEqual(), and OSResult::setVariableNumber().
numberOfObjectives is the number of objective functions reported in the solution.
Definition at line 1985 of file OSResult.h.
Referenced by OSResult::getObjectiveNumber(), IsEqual(), and OSResult::setObjectiveNumber().
numberOfConstrants is the number of constraint functions reported in the solution.
Definition at line 1990 of file OSResult.h.
Referenced by OSResult::getConstraintNumber(), IsEqual(), and OSResult::setConstraintNumber().
solution is an array of pointers to OptimizationSolution objects
Definition at line 1995 of file OSResult.h.
Referenced by OSResult::getAnOtherVariableResultNumberOfVar(), OSResult::getDualValue(), OSResult::getDualValueIdx(), 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(), IsEqual(), main(), OSResult::setBasisStatus(), OSResult::setConstraintValues(), OSResult::setConstraintValuesDense(), OSResult::setDualValue(), OSResult::setDualVariableValues(), OSResult::setDualVariableValuesDense(), OSResult::setDualVariableValuesSparse(), OSResult::setNumberOfDualValues(), OSResult::setNumberOfDualVariableValues(), OSResult::setNumberOfObjectiveValues(), OSResult::setNumberOfObjValues(), OSResult::setNumberOfOtherConstraintResults(), OSResult::setNumberOfOtherObjectiveResults(), OSResult::setNumberOfOtherSolutionResults(), OSResult::setNumberOfOtherVariableResults(), OSResult::setNumberOfPrimalVariableValues(), OSResult::setNumberOfSolutionSubstatuses(), OSResult::setNumberOfVarValues(), OSResult::setNumberOfVarValuesString(), OSResult::setObjectiveValues(), OSResult::setObjectiveValuesDense(), OSResult::setObjectiveValuesSparse(), OSResult::setObjValue(), OSResult::setOtherConstraintResultCon(), OSResult::setOtherConstraintResultConIdx(), OSResult::setOtherConstraintResultDescription(), OSResult::setOtherConstraintResultName(), OSResult::setOtherConstraintResultNumberOfCon(), OSResult::setOtherConstraintResultNumberOfEnumerations(), OSResult::setOtherConstraintResultValue(), OSResult::setOtherObjectiveResultDescription(), OSResult::setOtherObjectiveResultName(), OSResult::setOtherObjectiveResultNumberOfEnumerations(), OSResult::setOtherObjectiveResultNumberOfObj(), OSResult::setOtherObjectiveResultObj(), OSResult::setOtherObjectiveResultObjIdx(), OSResult::setOtherObjectiveResultValue(), OSResult::setOtherOptionEnumeration(), OSResult::setOtherSolutionResultCategory(), OSResult::setOtherSolutionResultDescription(), OSResult::setOtherSolutionResultItem(), OSResult::setOtherSolutionResultName(), OSResult::setOtherSolutionResultNumberOfItems(), OSResult::setOtherVariableResultDescription(), OSResult::setOtherVariableResultName(), OSResult::setOtherVariableResultNumberOfEnumerations(), OSResult::setOtherVariableResultNumberOfVar(), OSResult::setOtherVariableResultValue(), OSResult::setOtherVariableResultVar(), OSResult::setOtherVariableResultVarIdx(), 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 2000 of file OSResult.h.
Referenced by OSResult::getNumberOfSolverOutputs(), OSResult::getSolverOutputCategory(), OSResult::getSolverOutputDescription(), OSResult::getSolverOutputItem(), OSResult::getSolverOutputName(), OSResult::getSolverOutputNumberOfItems(), IsEqual(), OSResult::setNumberOfSolverOutputs(), OSResult::setSolverOutputCategory(), OSResult::setSolverOutputDescription(), OSResult::setSolverOutputItem(), OSResult::setSolverOutputName(), OSResult::setSolverOutputNumberOfItems(), and ~OptimizationResult().
solution is an array of pointers to OptimizationSolution objects
Definition at line 1275 of file OSResult.h.