|
PIPS-NLP
|
#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 | |
| StochInputTree * | inputTree |
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.
| sInterfaceCallbacks::sInterfaceCallbacks | ( | stochasticInput & | in | ) |
| sInterfaceCallbacks::~sInterfaceCallbacks | ( | ) |
| std::vector<double> sInterfaceCallbacks::getFirstStageDualColSolution | ( | ) | const |
| std::vector<double> sInterfaceCallbacks::getFirstStagePrimalColSolution | ( | ) | const |
|
protected |
|
protected |
| double sInterfaceCallbacks::getObjective | ( | ) | const |
| std::vector<double> sInterfaceCallbacks::getSecondStageDualColSolution | ( | int | scen | ) | const |
| std::vector<double> sInterfaceCallbacks::getSecondStagePrimalColSolution | ( | int | scen | ) | const |
| void sInterfaceCallbacks::go | ( | ) |
|
protected |
| void sInterfaceCallbacks::setDualTolerance | ( | double | val | ) |
| void sInterfaceCallbacks::setPrimalTolerance | ( | double | val | ) |
|
protected |
1.8.11