[Cbc] CbcModel::passInPriorities
Alexis Guigue
aguigue at softree.com
Tue Aug 7 17:56:09 EDT 2012
Dear all,
I have just started working with CBC. As my problem contains some SOS
constraints of type 1, I got
interested in the example sos.cpp. In this model, what is the advantage
of identifying these constraints
from the input file and specifically creating CbcObject? Is is to
improve the branching, i.e.,
by setting higher priority to branching for variables from the SOS
constraint? It is not very
clear to me what the function ''passInPriorities'' does (see below):
int * priority = new int[numberSOS];
// Set SOS priorities high
CoinFillN(priority,numberSOS,1);
model.passInPriorities(priority,true);
delete [] priority;
Thanks in advance
Alexis
--
Software Engineer/Research Engineer
Softree Technical Systems Inc.
www.softree.com
Engineering an Easier Way
More information about the Cbc
mailing list