com.exigen.ie.constrainer.constrainer.xml Maven / Gradle / Ivy
<constrainer> <vars> <intvar id="v1" name="intc" min="-100" max="100"> <intvar id="v2" name="msft" min="-100" max="100"> </vars> <exps> <intexp type="AddValue" id="e1" exp="v1" value="5" /> <intexp type="AddExp" id="e2" exp1="v1" exp2="v1" /> <intexp type="Opposite" id="e3" exp="e2" /> <intexp type="MulExp" id="cost" exp1="e1" exp2="e2" /> </exps> <constraints> <constraint type="LessExp" id="c1" exp1="e1" exp2="v2" /> <constraint type="LessValue" id="c2" exp="e3" value="8" /> </constraints> <goals> <goal type="GoalGenerate" id="g1" vars="a1"/> <goal type="GoalFastMinimize" id="g2" searchGoal="g1" cost="cost"/> </goals> <targetGoal goal="g2" /> </constrainer>