PIPS-NLP
Public Member Functions | Public Attributes | Protected Attributes | List of all members
StructJuMPInput Class Reference

#include <StructJuMPInput.h>

Inheritance diagram for StructJuMPInput:
stochasticInput

Public Member Functions

 StructJuMPInput (PipsNlpProblemStruct *prob)
 
 ~StructJuMPInput ()
 
void get_prob_info (int nodeid)
 
virtual int nScenarios ()
 
virtual int nFirstStageVars ()
 
virtual int nFirstStageCons ()
 
virtual int nSecondStageVars (int scen)
 
virtual int nSecondStageCons (int scen)
 
virtual std::vector< double > getFirstStageColLB ()
 
virtual std::vector< double > getFirstStageColUB ()
 
virtual std::vector< double > getFirstStageObj ()
 
virtual std::vector< std::string > getFirstStageColNames ()
 
virtual std::vector< double > getFirstStageRowLB ()
 
virtual std::vector< double > getFirstStageRowUB ()
 
virtual std::vector< std::string > getFirstStageRowNames ()
 
virtual bool isFirstStageColInteger (int col)
 
virtual std::vector< double > getSecondStageColLB (int scen)
 
virtual std::vector< double > getSecondStageColUB (int scen)
 
virtual std::vector< double > getSecondStageObj (int scen)
 
virtual std::vector< std::string > getSecondStageColNames (int scen)
 
virtual std::vector< double > getSecondStageRowUB (int scen)
 
virtual std::vector< double > getSecondStageRowLB (int scen)
 
virtual std::vector< std::string > getSecondStageRowNames (int scen)
 
virtual double scenarioProbability (int scen)
 
virtual bool isSecondStageColInteger (int scen, int col)
 
virtual int nLinkCons ()
 
virtual int nLinkECons ()
 
virtual int nLinkICons ()
 
virtual std::vector< double > getLinkRowLB ()
 
virtual std::vector< double > getLinkRowUB ()
 
virtual CoinPackedMatrix getLinkMatrix (int nodeid)
 
virtual CoinPackedMatrix getFirstStageConstraints ()
 
virtual CoinPackedMatrix getSecondStageConstraints (int scen)
 
virtual CoinPackedMatrix getLinkingConstraints (int scen)
 
virtual CoinPackedMatrix getFirstStageHessian ()
 
virtual CoinPackedMatrix getSecondStageHessian (int scen)
 
virtual CoinPackedMatrix getSecondStageCrossHessian (int scen)
 
virtual bool scenarioDimensionsEqual ()
 
virtual bool onlyBoundsVary ()
 
virtual bool allProbabilitiesEqual ()
 
virtual bool continuousRecourse ()
 
- Public Member Functions inherited from stochasticInput
virtual ~stochasticInput ()
 

Public Attributes

PipsNlpProblemStructprob
 
- Public Attributes inherited from stochasticInput
std::string datarootname
 
int useInputDate
 

Protected Attributes

std::map< int, int > nvar_map
 
std::map< int, int > ncon_map
 
std::map< int, std::vector< double > > collb_map
 
std::map< int, std::vector< double > > colub_map
 
std::map< int, std::vector< double > > rowlb_map
 
std::map< int, std::vector< double > > rowub_map
 
std::map< int, int > e_ncon_map
 
std::map< int, int > i_ncon_map
 
CoinPackedMatrix amat
 
bool isAmat
 
std::map< int, CoinPackedMatrix > wmat_map
 
std::map< int, CoinPackedMatrix > tmat_map
 
CoinPackedMatrix qamat
 
bool isQamat
 
std::map< int, CoinPackedMatrix > qwmat_map
 
std::map< int, CoinPackedMatrix > qtmat_map
 
std::vector< double > linklb
 
std::vector< double > linkub
 
int mlink
 
int e_ml
 
int i_ml
 
std::map< int, CoinPackedMatrix > Emat_map
 

Constructor & Destructor Documentation

StructJuMPInput::StructJuMPInput ( PipsNlpProblemStruct prob)
StructJuMPInput::~StructJuMPInput ( )

Member Function Documentation

bool StructJuMPInput::allProbabilitiesEqual ( )
virtual

Implements stochasticInput.

bool StructJuMPInput::continuousRecourse ( )
virtual

Implements stochasticInput.

void StructJuMPInput::get_prob_info ( int  nodeid)
std::vector< double > StructJuMPInput::getFirstStageColLB ( )
virtual

Implements stochasticInput.

std::vector< std::string > StructJuMPInput::getFirstStageColNames ( )
virtual

Implements stochasticInput.

std::vector< double > StructJuMPInput::getFirstStageColUB ( )
virtual

Implements stochasticInput.

CoinPackedMatrix StructJuMPInput::getFirstStageConstraints ( )
virtual

Implements stochasticInput.

CoinPackedMatrix StructJuMPInput::getFirstStageHessian ( )
virtual

Reimplemented from stochasticInput.

std::vector< double > StructJuMPInput::getFirstStageObj ( )
virtual

Implements stochasticInput.

std::vector< double > StructJuMPInput::getFirstStageRowLB ( )
virtual

Implements stochasticInput.

std::vector< std::string > StructJuMPInput::getFirstStageRowNames ( )
virtual

Implements stochasticInput.

std::vector< double > StructJuMPInput::getFirstStageRowUB ( )
virtual

Implements stochasticInput.

CoinPackedMatrix StructJuMPInput::getLinkingConstraints ( int  scen)
virtual

Implements stochasticInput.

CoinPackedMatrix StructJuMPInput::getLinkMatrix ( int  nodeid)
virtual

Reimplemented from stochasticInput.

std::vector< double > StructJuMPInput::getLinkRowLB ( )
virtual

Reimplemented from stochasticInput.

std::vector< double > StructJuMPInput::getLinkRowUB ( )
virtual

Reimplemented from stochasticInput.

std::vector< double > StructJuMPInput::getSecondStageColLB ( int  scen)
virtual

Implements stochasticInput.

std::vector< std::string > StructJuMPInput::getSecondStageColNames ( int  scen)
virtual

Implements stochasticInput.

std::vector< double > StructJuMPInput::getSecondStageColUB ( int  scen)
virtual

Implements stochasticInput.

CoinPackedMatrix StructJuMPInput::getSecondStageConstraints ( int  scen)
virtual

Implements stochasticInput.

CoinPackedMatrix StructJuMPInput::getSecondStageCrossHessian ( int  scen)
virtual

Reimplemented from stochasticInput.

CoinPackedMatrix StructJuMPInput::getSecondStageHessian ( int  scen)
virtual

Reimplemented from stochasticInput.

std::vector< double > StructJuMPInput::getSecondStageObj ( int  scen)
virtual

Implements stochasticInput.

std::vector< double > StructJuMPInput::getSecondStageRowLB ( int  scen)
virtual

Implements stochasticInput.

std::vector< std::string > StructJuMPInput::getSecondStageRowNames ( int  scen)
virtual

Implements stochasticInput.

std::vector< double > StructJuMPInput::getSecondStageRowUB ( int  scen)
virtual

Implements stochasticInput.

bool StructJuMPInput::isFirstStageColInteger ( int  col)
virtual

Implements stochasticInput.

bool StructJuMPInput::isSecondStageColInteger ( int  scen,
int  col 
)
virtual

Implements stochasticInput.

int StructJuMPInput::nFirstStageCons ( )
virtual

Implements stochasticInput.

int StructJuMPInput::nFirstStageVars ( )
virtual

Implements stochasticInput.

virtual int StructJuMPInput::nLinkCons ( )
inlinevirtual

Reimplemented from stochasticInput.

virtual int StructJuMPInput::nLinkECons ( )
inlinevirtual

Reimplemented from stochasticInput.

virtual int StructJuMPInput::nLinkICons ( )
inlinevirtual

Reimplemented from stochasticInput.

int StructJuMPInput::nScenarios ( )
virtual

Implements stochasticInput.

int StructJuMPInput::nSecondStageCons ( int  scen)
virtual

Implements stochasticInput.

int StructJuMPInput::nSecondStageVars ( int  scen)
virtual

Implements stochasticInput.

bool StructJuMPInput::onlyBoundsVary ( )
virtual

Implements stochasticInput.

bool StructJuMPInput::scenarioDimensionsEqual ( )
virtual

Implements stochasticInput.

double StructJuMPInput::scenarioProbability ( int  scen)
virtual

Implements stochasticInput.

Member Data Documentation

CoinPackedMatrix StructJuMPInput::amat
protected
std::map<int, std::vector<double> > StructJuMPInput::collb_map
protected
std::map<int, std::vector<double> > StructJuMPInput::colub_map
protected
int StructJuMPInput::e_ml
protected
std::map<int, int> StructJuMPInput::e_ncon_map
protected
std::map<int,CoinPackedMatrix> StructJuMPInput::Emat_map
protected
int StructJuMPInput::i_ml
protected
std::map<int, int> StructJuMPInput::i_ncon_map
protected
bool StructJuMPInput::isAmat
protected
bool StructJuMPInput::isQamat
protected
std::vector<double> StructJuMPInput::linklb
protected
std::vector<double> StructJuMPInput::linkub
protected
int StructJuMPInput::mlink
protected
std::map<int, int> StructJuMPInput::ncon_map
protected
std::map<int, int> StructJuMPInput::nvar_map
protected
PipsNlpProblemStruct* StructJuMPInput::prob
CoinPackedMatrix StructJuMPInput::qamat
protected
std::map<int, CoinPackedMatrix> StructJuMPInput::qtmat_map
protected
std::map<int, CoinPackedMatrix> StructJuMPInput::qwmat_map
protected
std::map<int, std::vector<double> > StructJuMPInput::rowlb_map
protected
std::map<int, std::vector<double> > StructJuMPInput::rowub_map
protected
std::map<int, CoinPackedMatrix> StructJuMPInput::tmat_map
protected
std::map<int, CoinPackedMatrix> StructJuMPInput::wmat_map
protected

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