My Project
DualVariableValues Class Reference

The DualVariableValues Class. More...

#include <OSResult.h>

Public Member Functions

 DualVariableValues ()
 Default constructor.
 
 ~DualVariableValues ()
 Class destructor.
 
bool IsEqual (DualVariableValues *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.
 
 DualVariableValues ()
 Default constructor.
 
 ~DualVariableValues ()
 Class destructor.
 

Public Attributes

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

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() [1/2]

DualVariableValues::DualVariableValues ( )

Default constructor.

Definition at line 793 of file OSResult.cpp.

◆ ~DualVariableValues() [1/2]

DualVariableValues::~DualVariableValues ( )

Class destructor.

Definition at line 804 of file OSResult.cpp.

◆ DualVariableValues() [2/2]

DualVariableValues::DualVariableValues ( )

Default constructor.

◆ ~DualVariableValues() [2/2]

DualVariableValues::~DualVariableValues ( )

Class destructor.

Member Function Documentation

◆ IsEqual()

bool DualVariableValues::IsEqual ( DualVariableValues * that)

A function to check for the equality of two objects.

Definition at line 9179 of file OSResult.cpp.

◆ 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)

Definition at line 10593 of file OSResult.cpp.

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 [1/2]

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.

◆ con [2/2]

std::vector<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 972 of file OSResult.h.


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