Go to the documentation of this file.
8 #ifndef CbcBranchAllDifferent_H
9 #define CbcBranchAllDifferent_H
12 #include "OsiRowCut.hpp"
13 #include "CoinPackedMatrix.hpp"
44 virtual double infeasibility(
const OsiBranchingInformation *info,
int preferredWay() const
If -1 down always chosen first, +1 up always, 0 normal.
virtual double infeasibility(const OsiBranchingInformation *info, int &preferredWay) const
Infeasibility - large is 0.5.
Define a cut branching class.
Define a branch class that branches so that it is only satsified if all members have different values...
Simple Branch and bound class.
int * which_
Which variables.
Abstract branching object base class Now just difference with OsiBranchingObject.
virtual CbcBranchingObject * createCbcBranch(OsiSolverInterface *solver, const OsiBranchingInformation *info, int way)
Creates a branching object.
CbcBranchAllDifferent & operator=(const CbcBranchAllDifferent &rhs)
CbcModel * model() const
Return model.
virtual CbcObject * clone() const
Clone.