|
Couenne
0.5.8
|
Choose a variable for branching. More...
#include <CouenneChooseVariable.hpp>
Inheritance diagram for Couenne::CouenneChooseVariable:
Collaboration diagram for Couenne::CouenneChooseVariable: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... | |
Public Member Functions inherited from OsiChooseVariable | |
| OsiChooseVariable () | |
| OsiChooseVariable (const OsiSolverInterface *solver) | |
| OsiChooseVariable (const OsiChooseVariable &) | |
| OsiChooseVariable & | operator= (const OsiChooseVariable &rhs) |
| virtual | ~OsiChooseVariable () |
| virtual int | chooseVariable (OsiSolverInterface *solver, OsiBranchingInformation *info, bool fixVariables) |
| void | saveSolution (const OsiSolverInterface *solver) |
| void | clearGoodSolution () |
| virtual void | updateInformation (const OsiBranchingInformation *info, int branch, OsiHotInfo *hotInfo) |
| virtual void | updateInformation (int whichObject, int branch, double changeInObjective, double changeInValue, int status) |
| double | goodObjectiveValue () const |
| double | upChange () const |
| double | downChange () const |
| const double * | goodSolution () const |
| int | bestObjectIndex () const |
| void | setBestObjectIndex (int value) |
| int | bestWhichWay () const |
| void | setBestWhichWay (int value) |
| int | firstForcedObjectIndex () const |
| void | setFirstForcedObjectIndex (int value) |
| int | firstForcedWhichWay () const |
| void | setFirstForcedWhichWay (int value) |
| int | numberUnsatisfied () const |
| int | numberStrong () const |
| void | setNumberStrong (int value) |
| int | numberOnList () const |
| int | numberStrongDone () const |
| int | numberStrongIterations () const |
| int | numberStrongFixed () const |
| const int * | candidates () const |
| bool | trustStrongForBound () const |
| void | setTrustStrongForBound (bool yesNo) |
| bool | trustStrongForSolution () const |
| void | setTrustStrongForSolution (bool yesNo) |
| void | setSolver (const OsiSolverInterface *solver) |
| int | status () const |
| void | setStatus (int value) |
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... | |
Protected Attributes inherited from OsiChooseVariable | |
| double | goodObjectiveValue_ |
| double | upChange_ |
| double | downChange_ |
| double * | goodSolution_ |
| int * | list_ |
| double * | useful_ |
| const OsiSolverInterface * | solver_ |
| int | status_ |
| int | bestObjectIndex_ |
| int | bestWhichWay_ |
| int | firstForcedObjectIndex_ |
| int | firstForcedWhichWay_ |
| int | numberUnsatisfied_ |
| int | numberStrong_ |
| int | numberOnList_ |
| int | numberStrongDone_ |
| int | numberStrongIterations_ |
| int | numberStrongFixed_ |
| bool | trustStrongForBound_ |
| bool | trustStrongForSolution_ |
Choose a variable for branching.
Definition at line 27 of file CouenneChooseVariable.hpp.
| Couenne::CouenneChooseVariable::CouenneChooseVariable | ( | ) |
Default Constructor.
| Couenne::CouenneChooseVariable::CouenneChooseVariable | ( | const OsiSolverInterface * | , |
| CouenneProblem * | , | ||
| JnlstPtr | jnlst | ||
| ) |
Constructor from solver (so we can set up arrays etc)
| Couenne::CouenneChooseVariable::CouenneChooseVariable | ( | const CouenneChooseVariable & | ) |
Copy constructor.
|
inlinevirtual |
Destructor.
Definition at line 48 of file CouenneChooseVariable.hpp.
| CouenneChooseVariable& Couenne::CouenneChooseVariable::operator= | ( | const CouenneChooseVariable & | ) |
Assignment operator.
|
inlinevirtual |
Clone.
Reimplemented from OsiChooseVariable.
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!
Reimplemented from OsiChooseVariable.
|
virtual |
Returns true if solution looks feasible against given objects.
Reimplemented from OsiChooseVariable.
|
static |
Add list of options to be read from file.
|
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.
1.8.17