Define a branch class that branches so that it is only satsified if all members have different values So cut is x <= y-1 or x >= y+1.
More...
#include <CbcBranchAllDifferent.hpp>
Define a branch class that branches so that it is only satsified if all members have different values So cut is x <= y-1 or x >= y+1.
Definition at line 21 of file CbcBranchAllDifferent.hpp.
◆ CbcBranchAllDifferent() [1/3]
| CbcBranchAllDifferent::CbcBranchAllDifferent |
( |
| ) |
|
◆ CbcBranchAllDifferent() [2/3]
| CbcBranchAllDifferent::CbcBranchAllDifferent |
( |
CbcModel * | model, |
|
|
int | number, |
|
|
const int * | which ) |
Useful constructor - passed set of integer variables which must all be different.
◆ CbcBranchAllDifferent() [3/3]
◆ ~CbcBranchAllDifferent()
| CbcBranchAllDifferent::~CbcBranchAllDifferent |
( |
| ) |
|
◆ clone()
| virtual CbcObject * CbcBranchAllDifferent::clone |
( |
| ) |
const |
|
virtual |
◆ operator=()
◆ infeasibility()
| virtual double CbcBranchAllDifferent::infeasibility |
( |
const OsiBranchingInformation * | info, |
|
|
int & | preferredWay ) const |
|
virtual |
Infeasibility - large is 0.5.
Reimplemented from CbcBranchCut.
◆ createCbcBranch()
| virtual CbcBranchingObject * CbcBranchAllDifferent::createCbcBranch |
( |
OsiSolverInterface * | solver, |
|
|
const OsiBranchingInformation * | info, |
|
|
int | way ) |
|
virtual |
Creates a branching object.
Reimplemented from CbcBranchCut.
◆ numberInSet_
| int CbcBranchAllDifferent::numberInSet_ |
|
protected |
◆ which_
| int* CbcBranchAllDifferent::which_ |
|
protected |
The documentation for this class was generated from the following file: