[FlopCpp] please request my answer
Martin Grados Marquina
themartininf at gmail.com
Tue Nov 6 23:26:52 EST 2007
Some person could explain me, how work flopc++ with it MP_subset. For
example I declare three set:
MP_set A(numA), B(numB), C(numC);
y then i declared the subset
MP_subset<2> ab(A,B), bc(B,C);
then insert elements:
ab.insert(12,780); ab.insert(30,780); ab.insert(41,782); . . .
bc.insert(780,170); bc.insert(780,140); bc.insert(782,154); . . .
then if i declare the variable binary
MP_binary_variable Xac(A,C);
ie, flopcpp link the element of set A to the elements of the set C by means
of set B ?? .. It is a error ?
Or maybe I have to declare
MP_subset<2> ac(A,C);
and the insert :
ac.insert(12,170); ac.insert(30,140); ac.inset(41,154); ...
So that I can use
"MP_binary_variable Xac(A,C);"
please request my answer.
Very Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/flopcpp/attachments/20071106/b1d2ed04/attachment.html
More information about the FlopCpp
mailing list