OPTPP::VariableList Class Reference

#include <VariableList.h>

List of all members.

Public Member Functions

 VariableList ()
 VariableList (DOMElement *problemXML)
 ~VariableList ()
NEWMAT::ColumnVector GetInitialValues ()
NEWMAT::ColumnVector GetUpperBounds ()
NEWMAT::ColumnVector GetLowerBounds ()
string GetVariableName (int i)
int size ()
BoundConstraintGetBoundConstraints ()
CompoundConstraintGetGeneralConstraints ()
USERNLNCON0 GetConstraintFunction (DOMElement *constraintXML)
USERNLNCON1 GetConstraintFunction1 (DOMElement *constraintXML)
USERNLNCON2 GetConstraintFunction2 (DOMElement *constraintXML)
INITFCN GetConstraintInitFunction (DOMElement *constraintXML)
void * GetFunction (string libName, string funcName)
int GetDerivOrder (DOMElement *subroutineXML)
bool lowerExists ()
bool upperExists ()
bool linearExists ()
bool nonlinearExists ()

Private Attributes

vector< inputVariablevariables_
DOMElement * variableListXML_
DOMElement * nlConstraintListXML_
DOMElement * linConstraintListXML_
int numVars_
vector< void * > loadedLibs_
vector< NLP * > constraintFunctions_
vector< NLPBase * > constraintBase_
vector< NonLinearEquation * > nlEquations_
vector< NonLinearInequality * > nlInequalities_
vector< AppLauncher * > launchers_
CompoundConstraintcompound_
BoundConstraintbound_
LinearEquationlinEquality_
LinearInequalitylinInEquality_
bool lboundsExist_
bool uboundsExist_
bool lconstraintsExist_
bool nlconstraintsExist_


Constructor & Destructor Documentation

OPTPP::VariableList::VariableList (  )  [inline]

no-arg constructor

OPTPP::VariableList::VariableList ( DOMElement *  problemXML  ) 

main constructor

OPTPP::VariableList::~VariableList (  ) 

descructor


Member Function Documentation

BoundConstraint * OPTPP::VariableList::GetBoundConstraints (  ) 

Retuns the Boundary Constraints

USERNLNCON0 OPTPP::VariableList::GetConstraintFunction ( DOMElement *  constraintXML  ) 

Returns the non-differentiable constraint function

USERNLNCON1 OPTPP::VariableList::GetConstraintFunction1 ( DOMElement *  constraintXML  ) 

Returns the first order differentiable constraint function

USERNLNCON2 OPTPP::VariableList::GetConstraintFunction2 ( DOMElement *  constraintXML  ) 

Returns the second order differentiable constraint function

INITFCN OPTPP::VariableList::GetConstraintInitFunction ( DOMElement *  constraintXML  ) 

Returns the constraint initialization function

int OPTPP::VariableList::GetDerivOrder ( DOMElement *  subroutineXML  ) 

Gets the order of differentiation

void * OPTPP::VariableList::GetFunction ( string  libName,
string  funcName 
)

Dynamically loads a function from the given library

CompoundConstraint * OPTPP::VariableList::GetGeneralConstraints (  ) 

Returns all of the general constraints

ColumnVector OPTPP::VariableList::GetInitialValues (  ) 

gets the initial Values

ColumnVector OPTPP::VariableList::GetLowerBounds (  ) 

Gets the lower bounds

ColumnVector OPTPP::VariableList::GetUpperBounds (  ) 

Gets the upper bounds

string OPTPP::VariableList::GetVariableName ( int  i  ) 

Gets the name of the specified variable

bool OPTPP::VariableList::linearExists (  ) 

bool OPTPP::VariableList::lowerExists (  ) 

bool OPTPP::VariableList::nonlinearExists (  ) 

int OPTPP::VariableList::size (  )  [inline]

returns the number of variables

bool OPTPP::VariableList::upperExists (  ) 


Member Data Documentation

BoundConstraint* OPTPP::VariableList::bound_ [private]

CompoundConstraint* OPTPP::VariableList::compound_ [private]

vector<NLPBase *> OPTPP::VariableList::constraintBase_ [private]

vector<NLP *> OPTPP::VariableList::constraintFunctions_ [private]

vector<AppLauncher *> OPTPP::VariableList::launchers_ [private]

bool OPTPP::VariableList::lboundsExist_ [private]

bool OPTPP::VariableList::lconstraintsExist_ [private]

DOMElement* OPTPP::VariableList::linConstraintListXML_ [private]

LinearEquation* OPTPP::VariableList::linEquality_ [private]

LinearInequality* OPTPP::VariableList::linInEquality_ [private]

vector<void *> OPTPP::VariableList::loadedLibs_ [private]

DOMElement* OPTPP::VariableList::nlConstraintListXML_ [private]

bool OPTPP::VariableList::nlconstraintsExist_ [private]

vector<NonLinearEquation *> OPTPP::VariableList::nlEquations_ [private]

vector<NonLinearInequality *> OPTPP::VariableList::nlInequalities_ [private]

int OPTPP::VariableList::numVars_ [private]

bool OPTPP::VariableList::uboundsExist_ [private]

DOMElement* OPTPP::VariableList::variableListXML_ [private]

vector<inputVariable> OPTPP::VariableList::variables_ [private]


The documentation for this class was generated from the following files:
Bug Reports    OPT++ Developers    Copyright Information    GNU Lesser General Public License
Documentation, generated by , last revised August 30, 2006.