#include <OSResult.h>
Collaboration diagram for OptimizationSolution:
Public Member Functions | |
OptimizationSolution () | |
Default constructor. | |
~OptimizationSolution () | |
Class destructor. | |
OptimizationSolution () | |
Default constructor. | |
~OptimizationSolution () | |
Class destructor. | |
Public Attributes | |
int | targetObjectiveIdx |
the index of the objective function for which we are reporting solution information | |
int | numberOfOtherResults |
the number of other results associated with this solution | |
OptimizationSolutionStatus * | status |
status is a pointer to an OptimizationSolutionStatus object associated with this optimization solution | |
std::string | message |
a message associated with this solution | |
VariableSolution * | variables |
variables holds the solution information for the variables | |
ObjectiveSolution * | objectives |
objectives holds the solution information for the objectives | |
ConstraintSolution * | constraints |
constraints holds the solution information for the constraints | |
OtherSolutionResults * | otherSolutionResults |
otherSolutionResults is a pointer to an OtherSolutionResults object that is associated with this optimization solution | |
OptimizationSolutionStatus * | status |
status is a pointer to an OptimizationSolutionStatus object associated with this optimization solution | |
VariableSolution * | variables |
variables holds the solution information for the variables | |
ObjectiveSolution * | objectives |
objectives holds the solution information for the objectives | |
ConstraintSolution * | constraints |
constraints holds the solution information for the constraints | |
std::vector< OtherOptimizationResult * > | other |
other is a pointer to an array of OtherOptimizationResult objects associated with this optimization solution |
Definition at line 1232 of file OSResult.h.
OptimizationSolution::OptimizationSolution | ( | ) |
OptimizationSolution::~OptimizationSolution | ( | ) |
Class destructor.
Definition at line 659 of file OSResult.cpp.
References constraints, objectives, otherSolutionResults, status, and variables.
OptimizationSolution::OptimizationSolution | ( | ) |
Default constructor.
OptimizationSolution::~OptimizationSolution | ( | ) |
Class destructor.
the index of the objective function for which we are reporting solution information
Definition at line 1238 of file OSResult.h.
Referenced by OSResult::setSolutionObjectiveIndex(), OSResult::setSolutionTargetObjectiveIdx(), and OSrLWriter::writeOSrL().
the number of other results associated with this solution
Definition at line 1241 of file OSResult.h.
status is a pointer to an OptimizationSolutionStatus object associated with this optimization solution
Definition at line 1246 of file OSResult.h.
Referenced by OSResult::getOptimalDualVariableValues(), OSResult::getOptimalPrimalVariableValues(), OSResult::getSolutionStatus(), OSResult::getSolutionStatusDescription(), OSResult::getSolutionStatusType(), OptimizationSolution(), OSrLWriter::writeOSrL(), and ~OptimizationSolution().
std::string OptimizationSolution::message |
a message associated with this solution
Definition at line 1249 of file OSResult.h.
Referenced by OSResult::getSolutionMessage(), and OSResult::setSolutionMessage().
variables holds the solution information for the variables
Definition at line 1254 of file OSResult.h.
Referenced by OSResult::getAnOtherVariableResultNumberOfVar(), OSResult::getNumberOfOtherVariableResults(), OSResult::getOptimalPrimalVariableValues(), main(), OSResult::setNumberOfOtherVariableResults(), OSResult::setNumberOfPrimalVariableValues(), OSResult::setPrimalVariableValues(), OSResult::setPrimalVariableValuesDense(), OSResult::setPrimalVariableValuesSparse(), and ~OptimizationSolution().
objectives holds the solution information for the objectives
Definition at line 1259 of file OSResult.h.
Referenced by main(), OSResult::setNumberOfObjectiveValues(), OSResult::setObjectiveValues(), OSResult::setObjectiveValuesDense(), OSResult::setObjectiveValuesSparse(), and ~OptimizationSolution().
constraints holds the solution information for the constraints
Definition at line 1264 of file OSResult.h.
Referenced by OSResult::getOptimalDualVariableValues(), OSResult::setConstraintValues(), OSResult::setConstraintValuesDense(), OSResult::setDualVariableValues(), OSResult::setDualVariableValuesDense(), OSResult::setDualVariableValuesSparse(), OSResult::setNumberOfDualVariableValues(), and ~OptimizationSolution().
otherSolutionResults is a pointer to an OtherSolutionResults object that is associated with this optimization solution
Definition at line 1269 of file OSResult.h.
Referenced by ~OptimizationSolution().
status is a pointer to an OptimizationSolutionStatus object associated with this optimization solution
Definition at line 1198 of file OSResult.h.
variables holds the solution information for the variables
Definition at line 1206 of file OSResult.h.
objectives holds the solution information for the objectives
Definition at line 1211 of file OSResult.h.
constraints holds the solution information for the constraints
Definition at line 1216 of file OSResult.h.
std::vector<OtherOptimizationResult*> OptimizationSolution::other |
other is a pointer to an array of OtherOptimizationResult objects associated with this optimization solution
Definition at line 1221 of file OSResult.h.