CSP doesn't allow fractional coeffitients

84 views
Skip to first unread message

Irina Kostyukova

unread,
Mar 25, 2015, 8:28:57 AM3/25/15
to ai...@googlegroups.com
Hello everyone!

I am running a Constraint Satisfaction Problem (CSP) in AIMMS. I have a problem with assigning fractional values to input parameters. I realize that output of CSP must be integers, which is fine, I just defined my variables to discrete integers. But when I enter values for sets of parameters I get an error
"The row Const contains the fractional coefficient 0.86 for column x(par1).  Except for the objective, fractional coefficients are not allowed for CPOptimizer 12.6."

I wonder if it's some program limitation?.. And is there a workaround?

Thank you,

Irina

Marcel Hunting

unread,
Mar 25, 2015, 1:15:19 PM3/25/15
to ai...@googlegroups.com
Hi,

That is a limitation of the solver. You could multiply all coefficients in your constraint and the right-hand-side by 100. If you have coefficients that are more fractional then you have to multiply by a larger value.

Best regards,

Marcel Hunting
AIMMS Optimization Specialist
Reply all
Reply to author
Forward
0 new messages