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.
bool IsEqual (OptimizationSolution *that)
 A function to check for the equality of two objects.
bool setRandom (double density, bool conformant)
 A function to make a random instance of this class.
 OptimizationSolution ()
 Default constructor.
 ~OptimizationSolution ()
 Class destructor.

Public Attributes

int targetObjectiveIdx
 the index of the objective function for which we are reporting solution information
std::string targetObjectiveName
 an optional name of the objective function for which we are reporting solution information
bool weightedObjectives
 a marker to track whether the objectives are weighted
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
int numberOfOtherResults
 the number of other results associated with this solution
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.
Author:
Robert Fourer, 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 1999 of file OSResult.h.


Constructor & Destructor Documentation

OptimizationSolution::OptimizationSolution (  ) 

Default constructor.

Definition at line 988 of file OSResult.cpp.

OptimizationSolution::~OptimizationSolution (  ) 

Class destructor.

Definition at line 1006 of file OSResult.cpp.

OptimizationSolution::OptimizationSolution (  ) 

Default constructor.

OptimizationSolution::~OptimizationSolution (  ) 

Class destructor.


Member Function Documentation

bool OptimizationSolution::IsEqual ( OptimizationSolution that  ) 

A function to check for the equality of two objects.

Definition at line 6560 of file OSResult.cpp.

bool OptimizationSolution::setRandom ( double  density,
bool  conformant 
)

A function to make a random instance of this class.

Parameters:
density,: corresponds to the probability that a particular child element is created
conformant,: if true enforces side constraints not enforceable in the schema (e.g., agreement of "numberOfXXX" atrbutes and <XXX> children)

Definition at line 8338 of file OSResult.cpp.


Member Data Documentation

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

Definition at line 2006 of file OSResult.h.

an optional name of the objective function for which we are reporting solution information

Definition at line 2011 of file OSResult.h.

a marker to track whether the objectives are weighted

Definition at line 2014 of file OSResult.h.

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

Definition at line 2019 of file OSResult.h.

a message associated with this solution

Definition at line 2022 of file OSResult.h.

variables holds the solution information for the variables

Definition at line 2027 of file OSResult.h.

objectives holds the solution information for the objectives

Definition at line 2032 of file OSResult.h.

constraints holds the solution information for the constraints

Definition at line 2037 of file OSResult.h.

otherSolutionResults is a pointer to an OtherSolutionResults object that is associated with this optimization solution

Definition at line 2042 of file OSResult.h.

the number of other results associated with this solution

Definition at line 1192 of file OSResult.h.

other is a pointer to an array of OtherOptimizationResult objects associated with this optimization solution

Definition at line 1220 of file OSResult.h.


The documentation for this class was generated from the following files:

Generated on 22 May 2012 by  doxygen 1.6.1