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

Index of variable in problem.

Definition at line 89 of file MINLPData.h.

Number of the block where the variable belongs to.

Definition at line 92 of file MINLPData.h.

Index of the variable in the block.

Definition at line 95 of file MINLPData.h.

Name of the variable.

Definition at line 99 of file MINLPData.h.

Lower bound.

Definition at line 103 of file MINLPData.h.

Upper bound.

Definition at line 106 of file MINLPData.h.

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.


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

Generated on 10 Mar 2013 for LaGO by  doxygen 1.6.1