I dont undestand about of the variable in FloppC++, For example my program is:<br><br>each vertice have: <br> -A domain which to possess a set of frequencies ....................MP_subset<2> varD(I,D); <------ <br>
-A frequency pre-assign which to belong to domain...............MP_subset<2> varI(I,F); <br> -A variable cost of modification of its frequency preassign.....MP_subset<2> varM(I,M);<br>---------------------------------------------------------------------------------------------
<br> where: I is the set of vertices <br> D is the set of domains <br> F is the set of frequency<br> M is the set of weight to changed the freq pre-assign to vertice
<br><br>but now i am interesting only in the "MP_subset<2> varD(I,D)", because when i declared my constraint<br><br> MP_variable_binary Xvf(I,F); <------------------- "HERE IS MY QUESTION"
<br> MP_constraint assignOneFreq( I ); <br> assignOneFreq(v) = sum( F(f), Xvf(v,f) ) == 1; // only frequency can be assign to vertice <br><br>i dont know if i am insert my data correctly because i insert a domain with it frequencies( "MP_subset<2> dom_i(D,F)" ) and the vertice with it domain( "MP_subset<2> varD(I,D)" ) but i dont insert vertices with frequencies because i think that the variable Xvf(I,F) link the vertice with its frequencies through of it domain --->ie, varD(I,D).... It's correct ???
<br><br>Some Suggestion?<br><br>Martin Grados.<br>Trujillo - Peru<br><br><br>