#include <CbcLinked.hpp>
Public Member Functions | |
OsiOldLink () | |
OsiOldLink (const OsiSolverInterface *solver, int numberMembers, int numberLinks, int first, const double *weights, int setNumber) | |
Useful constructor - A valid solution is if all variables are zero apart from k*numberLink to (k+1)*numberLink-1 where k is 0 through numberInSet-1. More... | |
OsiOldLink (const OsiSolverInterface *solver, int numberMembers, int numberLinks, int typeSOS, const int *which, const double *weights, int setNumber) | |
Useful constructor - A valid solution is if all variables are zero apart from k*numberLink to (k+1)*numberLink-1 where k is 0 through numberInSet-1. More... | |
OsiOldLink (const OsiOldLink &) | |
virtual OsiObject * | clone () const |
Clone. More... | |
OsiOldLink & | operator= (const OsiOldLink &rhs) |
virtual | ~OsiOldLink () |
virtual double | infeasibility (const OsiBranchingInformation *info, int &whichWay) const |
Infeasibility - large is 0.5. More... | |
virtual double | feasibleRegion (OsiSolverInterface *solver, const OsiBranchingInformation *info) const |
Set bounds to fix the variable at the current (integer) value. More... | |
virtual OsiBranchingObject * | createBranch (OsiSolverInterface *solver, const OsiBranchingInformation *info, int way) const |
Creates a branching object. More... | |
virtual void | resetSequenceEtc (int numberColumns, const int *originalColumns) |
Redoes data when sequence numbers change. More... | |
int | numberLinks () const |
Number of links for each member. More... | |
virtual bool | canDoHeuristics () const |
Return true if object can take part in normal heuristics. More... | |
virtual bool | boundBranch () const |
Return true if branch should only bound variables. More... | |
OsiOldLink () | |
OsiOldLink (const OsiSolverInterface *solver, int numberMembers, int numberLinks, int first, const double *weights, int setNumber) | |
Useful constructor - A valid solution is if all variables are zero apart from k*numberLink to (k+1)*numberLink-1 where k is 0 through numberInSet-1. More... | |
OsiOldLink (const OsiSolverInterface *solver, int numberMembers, int numberLinks, int typeSOS, const int *which, const double *weights, int setNumber) | |
Useful constructor - A valid solution is if all variables are zero apart from k*numberLink to (k+1)*numberLink-1 where k is 0 through numberInSet-1. More... | |
OsiOldLink (const OsiOldLink &) | |
virtual OsiObject * | clone () const |
Clone. More... | |
OsiOldLink & | operator= (const OsiOldLink &rhs) |
virtual | ~OsiOldLink () |
virtual double | infeasibility (const OsiBranchingInformation *info, int &whichWay) const |
Infeasibility - large is 0.5. More... | |
virtual double | feasibleRegion (OsiSolverInterface *solver, const OsiBranchingInformation *info) const |
Set bounds to fix the variable at the current (integer) value. More... | |
virtual OsiBranchingObject * | createBranch (OsiSolverInterface *solver, const OsiBranchingInformation *info, int way) const |
Creates a branching object. More... | |
virtual void | resetSequenceEtc (int numberColumns, const int *originalColumns) |
Redoes data when sequence numbers change. More... | |
int | numberLinks () const |
Number of links for each member. More... | |
virtual bool | canDoHeuristics () const |
Return true if object can take part in normal heuristics. More... | |
virtual bool | boundBranch () const |
Return true if branch should only bound variables. More... | |
Private Attributes | |
int | numberLinks_ |
data More... | |
Definition at line 432 of file CbcLinked.hpp.
OsiOldLink::OsiOldLink | ( | ) |
OsiOldLink::OsiOldLink | ( | const OsiSolverInterface * | solver, |
int | numberMembers, | ||
int | numberLinks, | ||
int | first, | ||
const double * | weights, | ||
int | setNumber | ||
) |
Useful constructor - A valid solution is if all variables are zero apart from k*numberLink to (k+1)*numberLink-1 where k is 0 through numberInSet-1.
The length of weights array is numberInSet. For this constructor the variables in matrix are the numberInSet*numberLink starting at first. If weights null then 0,1,2..
OsiOldLink::OsiOldLink | ( | const OsiSolverInterface * | solver, |
int | numberMembers, | ||
int | numberLinks, | ||
int | typeSOS, | ||
const int * | which, | ||
const double * | weights, | ||
int | setNumber | ||
) |
Useful constructor - A valid solution is if all variables are zero apart from k*numberLink to (k+1)*numberLink-1 where k is 0 through numberInSet-1.
The length of weights array is numberInSet. For this constructor the variables are given by list - grouped. If weights null then 0,1,2..
OsiOldLink::OsiOldLink | ( | const OsiOldLink & | ) |
|
virtual |
OsiOldLink::OsiOldLink | ( | ) |
OsiOldLink::OsiOldLink | ( | const OsiSolverInterface * | solver, |
int | numberMembers, | ||
int | numberLinks, | ||
int | first, | ||
const double * | weights, | ||
int | setNumber | ||
) |
Useful constructor - A valid solution is if all variables are zero apart from k*numberLink to (k+1)*numberLink-1 where k is 0 through numberInSet-1.
The length of weights array is numberInSet. For this constructor the variables in matrix are the numberInSet*numberLink starting at first. If weights null then 0,1,2..
OsiOldLink::OsiOldLink | ( | const OsiSolverInterface * | solver, |
int | numberMembers, | ||
int | numberLinks, | ||
int | typeSOS, | ||
const int * | which, | ||
const double * | weights, | ||
int | setNumber | ||
) |
Useful constructor - A valid solution is if all variables are zero apart from k*numberLink to (k+1)*numberLink-1 where k is 0 through numberInSet-1.
The length of weights array is numberInSet. For this constructor the variables are given by list - grouped. If weights null then 0,1,2..
OsiOldLink::OsiOldLink | ( | const OsiOldLink & | ) |
|
virtual |
|
virtual |
Clone.
OsiOldLink& OsiOldLink::operator= | ( | const OsiOldLink & | rhs) |
|
virtual |
Infeasibility - large is 0.5.
|
virtual |
Set bounds to fix the variable at the current (integer) value.
Given an integer value, set the lower and upper bounds to fix the variable. Returns amount it had to move variable.
|
virtual |
Creates a branching object.
The preferred direction is set by way
, 0 for down, 1 for up.
|
virtual |
Redoes data when sequence numbers change.
|
inline |
Number of links for each member.
Definition at line 492 of file CbcLinked.hpp.
|
inlinevirtual |
Return true if object can take part in normal heuristics.
Definition at line 498 of file CbcLinked.hpp.
|
inlinevirtual |
Return true if branch should only bound variables.
Definition at line 503 of file CbcLinked.hpp.
|
virtual |
Clone.
OsiOldLink& OsiOldLink::operator= | ( | const OsiOldLink & | rhs) |
|
virtual |
Infeasibility - large is 0.5.
|
virtual |
Set bounds to fix the variable at the current (integer) value.
Given an integer value, set the lower and upper bounds to fix the variable. Returns amount it had to move variable.
|
virtual |
Creates a branching object.
The preferred direction is set by way
, 0 for down, 1 for up.
|
virtual |
Redoes data when sequence numbers change.
|
inline |
Number of links for each member.
Definition at line 492 of file CbcLinked.hpp.
|
inlinevirtual |
Return true if object can take part in normal heuristics.
Definition at line 498 of file CbcLinked.hpp.
|
inlinevirtual |
Return true if branch should only bound variables.
Definition at line 503 of file CbcLinked.hpp.
|
private |