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