OS  2.10.2
Public Member Functions | Public Attributes | List of all members
DualVariableValues Class Reference

The DualVariableValues Class. More...

#include <OSResult.h>

+ Collaboration diagram for DualVariableValues:

Public Member Functions

 DualVariableValues ()
 Default constructor. More...
 
 ~DualVariableValues ()
 Class destructor. More...
 
bool IsEqual (DualVariableValues *that)
 A function to check for the equality of two objects. More...
 
bool setRandom (double density, bool conformant)
 A function to make a random instance of this class. More...
 

Public Attributes

int numberOfCon
 record the number of constraints for which values are given More...
 
DualVarValue ** con
 con is a vector of DualVarValue objects that give an index and dual variable value for each constraint function. More...
 

Detailed Description

The DualVariableValues Class.

Author
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
Version
1.0, 03/14/2004
Since
OS 1.0
Remarks
A class for reporting dual variable values

Definition at line 1654 of file OSResult.h.

Constructor & Destructor Documentation

◆ DualVariableValues()

DualVariableValues::DualVariableValues ( )

Default constructor.

◆ ~DualVariableValues()

DualVariableValues::~DualVariableValues ( )

Class destructor.

Member Function Documentation

◆ IsEqual()

bool DualVariableValues::IsEqual ( DualVariableValues that)

A function to check for the equality of two objects.

◆ setRandom()

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

A function to make a random instance of this class.

Parameters
densitycorresponds to the probability that a particular child element is created
conformantif true enforces side constraints not enforceable in the schema (e.g., agreement of "numberOfXXX" attributes and <XXX> children)

Member Data Documentation

◆ numberOfCon

int DualVariableValues::numberOfCon

record the number of constraints for which values are given

Definition at line 1660 of file OSResult.h.

◆ con

DualVarValue** DualVariableValues::con

con is a vector of DualVarValue objects that give an index and dual variable value for each constraint function.

Definition at line 1666 of file OSResult.h.


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