Choose a variable for branching. More...
#include <CouenneChooseVariable.hpp>
Public Member Functions | |
CouenneChooseVariable () | |
Default Constructor. More... | |
CouenneChooseVariable (const OsiSolverInterface *, CouenneProblem *, JnlstPtr jnlst) | |
Constructor from solver (so we can set up arrays etc) More... | |
CouenneChooseVariable (const CouenneChooseVariable &) | |
Copy constructor. More... | |
CouenneChooseVariable & | operator= (const CouenneChooseVariable &) |
Assignment operator. More... | |
virtual OsiChooseVariable * | clone () const |
Clone. More... | |
virtual | ~CouenneChooseVariable () |
Destructor. More... | |
virtual int | setupList (OsiBranchingInformation *, bool) |
Sets up strong list and clears all if initialize is true. More... | |
virtual bool | feasibleSolution (const OsiBranchingInformation *info, const double *solution, int numberObjects, const OsiObject **objects) |
Returns true if solution looks feasible against given objects. More... | |
Static Public Member Functions | |
static void | registerOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
Add list of options to be read from file. More... | |
Protected Attributes | |
CouenneProblem * | problem_ |
Pointer to the associated MINLP problem. More... | |
JnlstPtr | jnlst_ |
journalist for detailed debug information More... | |
Choose a variable for branching.
Definition at line 27 of file CouenneChooseVariable.hpp.
CouenneChooseVariable::CouenneChooseVariable | ( | ) |
Default Constructor.
Definition at line 43 of file CouenneChooseVariable.cpp.
CouenneChooseVariable::CouenneChooseVariable | ( | const OsiSolverInterface * | si, |
CouenneProblem * | p, | ||
JnlstPtr | jnlst | ||
) |
Constructor from solver (so we can set up arrays etc)
Definition at line 49 of file CouenneChooseVariable.cpp.
CouenneChooseVariable::CouenneChooseVariable | ( | const CouenneChooseVariable & | source | ) |
Copy constructor.
Definition at line 58 of file CouenneChooseVariable.cpp.
|
inlinevirtual |
Destructor.
Definition at line 48 of file CouenneChooseVariable.hpp.
CouenneChooseVariable & CouenneChooseVariable::operator= | ( | const CouenneChooseVariable & | rhs | ) |
Assignment operator.
Definition at line 65 of file CouenneChooseVariable.cpp.
|
inlinevirtual |
Clone.
Definition at line 44 of file CouenneChooseVariable.hpp.
|
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!
Returns number of infeasibilities. If returns -1 then node is found infeasible
Definition at line 75 of file CouenneChooseVariable.cpp.
|
virtual |
Returns true if solution looks feasible against given objects.
choose object to branch based on earlier setup
Definition at line 399 of file CouenneChooseVariable.cpp.
|
static |
Add list of options to be read from file.
Definition at line 422 of file CouenneChooseVariable.cpp.
|
protected |
Pointer to the associated MINLP problem.
Definition at line 72 of file CouenneChooseVariable.hpp.
|
protected |
journalist for detailed debug information
Definition at line 75 of file CouenneChooseVariable.hpp.