OptimizationSolution Class Reference

The OptimizationSolution Class. More...

#include <OSResult.h>

Collaboration diagram for OptimizationSolution:

Collaboration graph
[legend]
List of all members.

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
OptimizationSolutionStatusstatus
 status is a pointer to an OptimizationSolutionStatus object associated with this optimization solution
std::string message
 a message associated with this solution
VariableSolutionvariables
 variables holds the solution information for the variables
ObjectiveSolutionobjectives
 objectives holds the solution information for the objectives
ConstraintSolutionconstraints
 constraints holds the solution information for the constraints
OtherSolutionResultsotherSolutionResults
 otherSolutionResults is a pointer to an OtherSolutionResults object that is associated with this optimization solution
OptimizationSolutionStatusstatus
 status is a pointer to an OptimizationSolutionStatus object associated with this optimization solution
VariableSolutionvariables
 variables holds the solution information for the variables
ObjectiveSolutionobjectives
 objectives holds the solution information for the objectives
ConstraintSolutionconstraints
 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

Detailed Description

The OptimizationSolution Class.

Author:
Horand Gassmann, Jun Ma, Kipp Martin
Version:
1.0, 03/14/2004
Since:
OS 1.0
Remarks:
A class for reporting the various components of an optimization solution.

Definition at line 1232 of file OSResult.h.


Constructor & Destructor Documentation

OptimizationSolution::OptimizationSolution (  ) 

Default constructor.

Definition at line 643 of file OSResult.cpp.

References status.

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.


Member Data Documentation

int OptimizationSolution::targetObjectiveIdx

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().

int OptimizationSolution::numberOfOtherResults

the number of other results associated with this solution

Definition at line 1241 of file OSResult.h.

OptimizationSolutionStatus* OptimizationSolution::status

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().

VariableSolution* OptimizationSolution::variables

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().

ObjectiveSolution* OptimizationSolution::objectives

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().

ConstraintSolution* OptimizationSolution::constraints

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* OptimizationSolution::otherSolutionResults

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().

OptimizationSolutionStatus* OptimizationSolution::status

status is a pointer to an OptimizationSolutionStatus object associated with this optimization solution

Definition at line 1198 of file OSResult.h.

VariableSolution* OptimizationSolution::variables

variables holds the solution information for the variables

Definition at line 1206 of file OSResult.h.

ObjectiveSolution* OptimizationSolution::objectives

objectives holds the solution information for the objectives

Definition at line 1211 of file OSResult.h.

ConstraintSolution* OptimizationSolution::constraints

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.


The documentation for this class was generated from the following files:
Generated on Mon Aug 3 03:07:46 2009 by  doxygen 1.4.7