[Clp] First Problem linear in c++, help
Stefan Vigerske
stefan at math.hu-berlin.de
Mon Dec 21 04:58:22 EST 2009
Hi,
look at the addRows.cpp example that comes with Clp.
https://projects.coin-or.org/Clp/browser/stable/1.11/Clp/examples/addRows.cpp
Stefan
Matteo Di Luca schrieb:
> Sorry for this e-mail.
> This is first problem in c++ with libraries clp.
> How I make to write this problem and don't read file.mps ?
> Example:
> 15x1 + 8x2 + 80x3 -> min
> s.t.:
> x1 + 2x2 + 3x3 <= 15
> 8x1 + 15x2 + 80x3 <= 80
> 8x1 + 80x2 + 15x3 <=150
> 100x1 + 10x2 + x3 >= 800
>
> 80x1 + 8x2 + 15x3 = 750
> x1 + 10x2 + 100x3 = 80
> x1 >= 4
> -8 >= x2 >= -80
>
> Thanks, where can I find documentation on this?
> thank you very much
>
> _________________________________________________________________
> Di che umore sei oggi? Dillo con le Emoticon
> http://intrattenimento.it.msn.com/emoticon
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Clp mailing list
> Clp at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/clp
--
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan
More information about the Clp
mailing list