#include <CouenneChooseVariable.hpp>
Collaboration diagram for CouenneChooseVariable:
Public Member Functions | |
CouenneChooseVariable () | |
Default Constructor. | |
CouenneChooseVariable (const OsiSolverInterface *, CouenneProblem *, JnlstPtr jnlst) | |
Constructor from solver (so we can set up arrays etc). | |
CouenneChooseVariable (const CouenneChooseVariable &) | |
Copy constructor. | |
CouenneChooseVariable & | operator= (const CouenneChooseVariable &) |
Assignment operator. | |
virtual OsiChooseVariable * | clone () const |
Clone. | |
virtual | ~CouenneChooseVariable () |
Destructor. | |
virtual int | setupList (OsiBranchingInformation *, bool) |
Sets up strong list and clears all if initialize is true. | |
virtual bool | feasibleSolution (const OsiBranchingInformation *info, const double *solution, int numberObjects, const OsiObject **objects) |
Returns true if solution looks feasible against given objects. | |
Static Public Member Functions | |
static void | registerOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
Add list of options to be read from file. | |
Protected Attributes | |
CouenneProblem * | problem_ |
Pointer to the associated MINLP problem. | |
JnlstPtr | jnlst_ |
journalist for detailed debug information |
Definition at line 25 of file CouenneChooseVariable.hpp.
CouenneChooseVariable::CouenneChooseVariable | ( | ) |
CouenneChooseVariable::CouenneChooseVariable | ( | const OsiSolverInterface * | , | |
CouenneProblem * | , | |||
JnlstPtr | jnlst | |||
) |
Constructor from solver (so we can set up arrays etc).
CouenneChooseVariable::CouenneChooseVariable | ( | const CouenneChooseVariable & | ) |
Copy constructor.
virtual CouenneChooseVariable::~CouenneChooseVariable | ( | ) | [inline, virtual] |
CouenneChooseVariable& CouenneChooseVariable::operator= | ( | const CouenneChooseVariable & | ) |
Assignment operator.
virtual OsiChooseVariable* CouenneChooseVariable::clone | ( | ) | const [inline, virtual] |
virtual int CouenneChooseVariable::setupList | ( | OsiBranchingInformation * | , | |
bool | ||||
) | [virtual] |
Sets up strong list and clears all if initialize is true.
Returns number of infeasibilities. If returns -1 then has worked out node is infeasible!
virtual bool CouenneChooseVariable::feasibleSolution | ( | const OsiBranchingInformation * | info, | |
const double * | solution, | |||
int | numberObjects, | |||
const OsiObject ** | objects | |||
) | [virtual] |
Returns true if solution looks feasible against given objects.
static void CouenneChooseVariable::registerOptions | ( | Ipopt::SmartPtr< Bonmin::RegisteredOptions > | roptions | ) | [static] |
Add list of options to be read from file.
CouenneProblem* CouenneChooseVariable::problem_ [protected] |
JnlstPtr CouenneChooseVariable::jnlst_ [protected] |