OptimizationSolution Class Reference

The OptimizationSolution Class. More...

#include <OSResult.h>

List of all members.

Public Member Functions

 OptimizationSolution ()
 Default constructor.
 ~OptimizationSolution ()
 Class destructor.

Public Attributes

int objectiveIdx
 the index of the objective function for which we are reporting solution information
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


Detailed Description

The OptimizationSolution Class.

Author:
Robert Fourer, 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 820 of file OSResult.h.


Constructor & Destructor Documentation

OptimizationSolution::OptimizationSolution (  ) 

Default constructor.

Definition at line 496 of file OSResult.cpp.

References status.

OptimizationSolution::~OptimizationSolution (  ) 

Class destructor.

Definition at line 511 of file OSResult.cpp.

References constraints, objectives, status, and variables.


Member Data Documentation

int OptimizationSolution::objectiveIdx

the index of the objective function for which we are reporting solution information

Definition at line 826 of file OSResult.h.

Referenced by OSResult::getOptimalDualVariableValues(), OSResult::getOptimalPrimalVariableValues(), OSResult::setSolutionObjectiveIndex(), and OSrLWriter::writeOSrL().

OptimizationSolutionStatus* OptimizationSolution::status

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

Definition at line 831 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 834 of file OSResult.h.

Referenced by OSResult::getSolutionMessage(), and OSrLWriter::writeOSrL().

VariableSolution* OptimizationSolution::variables

variables holds the solution information for the variables

Definition at line 839 of file OSResult.h.

Referenced by OSResult::getNumberOfOtherVariableResult(), OSResult::getOptimalPrimalVariableValues(), OSResult::setNumberOfOtherVariableResult(), OSResult::setPrimalVariableValues(), OSrLWriter::writeOSrL(), and ~OptimizationSolution().

ObjectiveSolution* OptimizationSolution::objectives

objectives holds the solution information for the objectives

Definition at line 844 of file OSResult.h.

Referenced by OSResult::setObjectiveValues(), OSrLWriter::writeOSrL(), and ~OptimizationSolution().

ConstraintSolution* OptimizationSolution::constraints

constraints holds the solution information for the constraints

Definition at line 849 of file OSResult.h.

Referenced by OSResult::getOptimalDualVariableValues(), OSResult::setConstraintValues(), OSResult::setDualVariableValues(), OSrLWriter::writeOSrL(), and ~OptimizationSolution().


The documentation for this class was generated from the following files:
Generated on Sat Mar 29 22:38:05 2008 by  doxygen 1.5.3