MINLPData::Variable Class Reference

Storage for the data of a variable. More...

#include <MINLPData.h>

List of all members.

Public Member Functions

 Variable (int index_, double lower_, double upper_, bool discrete_=false, const string &name_=string())

Public Attributes

int index
 Index of variable in problem.
int block_nr
 Number of the block where the variable belongs to.
int index_in_block
 Index of the variable in the block.
string name
 Name of the variable.
double lower
 Lower bound.
double upper
 Upper bound.
bool discrete
 Discrete or not.


Detailed Description

Storage for the data of a variable.

Definition at line 85 of file MINLPData.h.


Constructor & Destructor Documentation

MINLPData::Variable::Variable ( int  index_,
double  lower_,
double  upper_,
bool  discrete_ = false,
const string &  name_ = string() 
) [inline]

Definition at line 112 of file MINLPData.h.


Member Data Documentation

int MINLPData::Variable::index

Index of variable in problem.

Definition at line 89 of file MINLPData.h.

Referenced by MINLP::VariableView::index().

int MINLPData::Variable::block_nr

Number of the block where the variable belongs to.

Definition at line 92 of file MINLPData.h.

Referenced by MINLP::VariableView::block_nr().

int MINLPData::Variable::index_in_block

Index of the variable in the block.

Definition at line 95 of file MINLPData.h.

Referenced by MINLP::VariableView::index_in_block().

string MINLPData::Variable::name

Name of the variable.

Definition at line 99 of file MINLPData.h.

Referenced by MINLP::VariableView::name().

double MINLPData::Variable::lower

Lower bound.

Definition at line 103 of file MINLPData.h.

Referenced by MINLP::VariableView::lower().

double MINLPData::Variable::upper

Upper bound.

Definition at line 106 of file MINLPData.h.

Referenced by MINLP::VariableView::upper().

bool MINLPData::Variable::discrete

Discrete or not.

TODO: use an enumerate to distinguish between continuous, discrete (lower or upper), and integer.

Definition at line 110 of file MINLPData.h.

Referenced by MINLP::VariableView::discrete().


The documentation for this class was generated from the following file:
Generated on Tue Oct 21 03:12:34 2008 for LaGO by  doxygen 1.4.7