[Coin-lpsolver] How model.setInteger works?
Stefan Vigerske
stefan at math.hu-berlin.de
Thu Dec 6 07:31:03 EST 2007
Hi,
> In some cases, some of the variables must be of integer type. However, when I
> tried the method: model.setInteger with the following code, it does not work as
> expected:
>
>
> int main()
> {
> ClpSimplex model;
Maybe you need to use Cbc instead of Clp?
Clp is an LP solver and might ignore the integer restriction.
Stefan
--
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan
More information about the Clp
mailing list