DyLP
1.10.4
|
This class contains the result of strong branching on a variable When created it stores enough information for strong branching. More...
#include <OsiChooseVariable.hpp>
Public Member Functions | |
OsiHotInfo () | |
Default Constructor. More... | |
OsiHotInfo (OsiSolverInterface *solver, const OsiBranchingInformation *info, const OsiObject *const *objects, int whichObject) | |
Constructor from useful information. More... | |
OsiHotInfo (const OsiHotInfo &) | |
Copy constructor. More... | |
OsiHotInfo & | operator= (const OsiHotInfo &rhs) |
Assignment operator. More... | |
virtual OsiHotInfo * | clone () const |
Clone. More... | |
virtual | ~OsiHotInfo () |
Destructor. More... | |
int | updateInformation (const OsiSolverInterface *solver, const OsiBranchingInformation *info, OsiChooseVariable *choose) |
Fill in useful information after strong branch. More... | |
double | originalObjectiveValue () const |
Original objective value. More... | |
double | upChange () const |
Up change - invalid if n-way. More... | |
double | downChange () const |
Down change - invalid if n-way. More... | |
void | setUpChange (double value) |
Set up change - invalid if n-way. More... | |
void | setDownChange (double value) |
Set down change - invalid if n-way. More... | |
double | change (int k) const |
Change on way k. More... | |
int | upIterationCount () const |
Up iteration count - invalid if n-way. More... | |
int | downIterationCount () const |
Down iteration count - invalid if n-way. More... | |
int | iterationCount (int k) const |
Iteration count on way k. More... | |
int | upStatus () const |
Up status - invalid if n-way. More... | |
int | downStatus () const |
Down status - invalid if n-way. More... | |
void | setUpStatus (int value) |
Set up status - invalid if n-way. More... | |
void | setDownStatus (int value) |
Set down status - invalid if n-way. More... | |
int | status (int k) const |
Status on way k. More... | |
OsiBranchingObject * | branchingObject () const |
Branching object. More... | |
int | whichObject () const |
Protected Attributes | |
double | originalObjectiveValue_ |
Original objective value. More... | |
double * | changes_ |
Objective changes. More... | |
int * | iterationCounts_ |
Iteration counts. More... | |
int * | statuses_ |
Status -1 - not done 0 - feasible and finished 1 - infeasible 2 - not finished. More... | |
OsiBranchingObject * | branchingObject_ |
Branching object. More... | |
int | whichObject_ |
Which object on list. More... | |
This class contains the result of strong branching on a variable When created it stores enough information for strong branching.
Definition at line 500 of file OsiChooseVariable.hpp.
OsiHotInfo::OsiHotInfo | ( | ) |
Default Constructor.
OsiHotInfo::OsiHotInfo | ( | OsiSolverInterface * | solver, |
const OsiBranchingInformation * | info, | ||
const OsiObject *const * | objects, | ||
int | whichObject | ||
) |
Constructor from useful information.
OsiHotInfo::OsiHotInfo | ( | const OsiHotInfo & | ) |
Copy constructor.
|
virtual |
Destructor.
OsiHotInfo& OsiHotInfo::operator= | ( | const OsiHotInfo & | rhs | ) |
Assignment operator.
|
virtual |
Clone.
int OsiHotInfo::updateInformation | ( | const OsiSolverInterface * | solver, |
const OsiBranchingInformation * | info, | ||
OsiChooseVariable * | choose | ||
) |
Fill in useful information after strong branch.
Return status
|
inline |
Original objective value.
Definition at line 530 of file OsiChooseVariable.hpp.
|
inline |
Up change - invalid if n-way.
Definition at line 535 of file OsiChooseVariable.hpp.
|
inline |
Down change - invalid if n-way.
Definition at line 541 of file OsiChooseVariable.hpp.
|
inline |
Set up change - invalid if n-way.
Definition at line 547 of file OsiChooseVariable.hpp.
|
inline |
Set down change - invalid if n-way.
Definition at line 553 of file OsiChooseVariable.hpp.
|
inline |
Change on way k.
Definition at line 559 of file OsiChooseVariable.hpp.
|
inline |
Up iteration count - invalid if n-way.
Definition at line 565 of file OsiChooseVariable.hpp.
|
inline |
Down iteration count - invalid if n-way.
Definition at line 571 of file OsiChooseVariable.hpp.
|
inline |
Iteration count on way k.
Definition at line 577 of file OsiChooseVariable.hpp.
|
inline |
Up status - invalid if n-way.
Definition at line 583 of file OsiChooseVariable.hpp.
|
inline |
Down status - invalid if n-way.
Definition at line 589 of file OsiChooseVariable.hpp.
|
inline |
Set up status - invalid if n-way.
Definition at line 595 of file OsiChooseVariable.hpp.
|
inline |
Set down status - invalid if n-way.
Definition at line 601 of file OsiChooseVariable.hpp.
|
inline |
Status on way k.
Definition at line 607 of file OsiChooseVariable.hpp.
|
inline |
Branching object.
Definition at line 612 of file OsiChooseVariable.hpp.
|
inline |
Definition at line 616 of file OsiChooseVariable.hpp.
|
protected |
Original objective value.
Definition at line 624 of file OsiChooseVariable.hpp.
|
protected |
Objective changes.
Definition at line 626 of file OsiChooseVariable.hpp.
|
protected |
Iteration counts.
Definition at line 628 of file OsiChooseVariable.hpp.
|
protected |
Status -1 - not done 0 - feasible and finished 1 - infeasible 2 - not finished.
Definition at line 635 of file OsiChooseVariable.hpp.
|
protected |
Branching object.
Definition at line 637 of file OsiChooseVariable.hpp.
|
protected |
Which object on list.
Definition at line 639 of file OsiChooseVariable.hpp.