Some person could explain me, how work flopc++ with it MP_subset. For example I declare three set:<br><br>MP_set A(numA), B(numB), C(numC);<br><br>y then i declared the subset<br><br>MP_subset<2> ab(A,B), bc(B,C);<br>
<br>then insert elements:<br><br>ab.insert(12,780); ab.insert(30,780); ab.insert(41,782); . . .<br>bc.insert(780,170); bc.insert(780,140); bc.insert(782,154); . . .<br><br>then if i declare the variable binary
<br><br>MP_binary_variable Xac(A,C);<br><br>ie, flopcpp link the element of set A to the elements of the set C by means of set B ?? .. It is a error ?<br><br>Or maybe I have to declare<br><br>MP_subset<2> ac(A,C);<br>
and the insert :<br>ac.insert(12,170); ac.insert(30,140); ac.inset(41,154); ...<br>So that I can use<br>"MP_binary_variable Xac(A,C);"<br><br>please request my answer.<br><br>Very Thanks<br>