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

#include <sInterfaceCallbacks.h>

Public Member Functions

 sInterfaceCallbacks (stochasticInput &in)
 
 ~sInterfaceCallbacks ()
 
void go ()
 
double getObjective () const
 
void setPrimalTolerance (double val)
 
void setDualTolerance (double val)
 
std::vector< double > getFirstStagePrimalColSolution () const
 
std::vector< double > getSecondStagePrimalColSolution (int scen) const
 
std::vector< double > getFirstStageDualColSolution () const
 
std::vector< double > getSecondStageDualColSolution (int scen) const
 

Protected Member Functions

void getNum1stStgEqIneq (int &my, int &mz)
 
void getNum2ndStgEqIneq (int scens, int &my, int &mz)
 
void loadData ()
 

Protected Attributes

StochInputTreeinputTree
 

Detailed Description

This class is an interface to PIPS-IPM which takes the problem from stochasticInput and specify it to the solver using C-callbacks.

Implemented for backward compatibility. Callbacks are now obsolete, PIPSIPMInterface should be used instead.

TO DO: implement get..Solution methods.

Constructor & Destructor Documentation

sInterfaceCallbacks::sInterfaceCallbacks ( stochasticInput in)
sInterfaceCallbacks::~sInterfaceCallbacks ( )

Member Function Documentation

std::vector<double> sInterfaceCallbacks::getFirstStageDualColSolution ( ) const
std::vector<double> sInterfaceCallbacks::getFirstStagePrimalColSolution ( ) const
void sInterfaceCallbacks::getNum1stStgEqIneq ( int &  my,
int &  mz 
)
protected
void sInterfaceCallbacks::getNum2ndStgEqIneq ( int  scens,
int &  my,
int &  mz 
)
protected
double sInterfaceCallbacks::getObjective ( ) const
std::vector<double> sInterfaceCallbacks::getSecondStageDualColSolution ( int  scen) const
std::vector<double> sInterfaceCallbacks::getSecondStagePrimalColSolution ( int  scen) const
void sInterfaceCallbacks::go ( )
void sInterfaceCallbacks::loadData ( )
protected
void sInterfaceCallbacks::setDualTolerance ( double  val)
void sInterfaceCallbacks::setPrimalTolerance ( double  val)

Member Data Documentation

StochInputTree* sInterfaceCallbacks::inputTree
protected

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