Hello,
I'm new in constraint programming.
I'm trying to solve a problem that requires a multi objective function(o.f.) such as:
o.f.: obj1+ obj2 + ... + obj7
Each objective is multiplied by a weight (1000, 8, 1) and a parameter defined in arrays (d, um, m, cob, r, cost).
In the examples i've been learning from, it seems that when they add a coefficient it just adds it to the objective function.
In my case some values that I add are ignored and others ar not. I can't find why is this happening.
This is what I have:
In the example I'm using there is only one possibility and it's cost should be over 1000. But the results value is 40.01.
When i comment the 40 cost line the result value is 1000.01. It seems that it's only taking the last line of each for.
Any thoughts on what am I doing wrong?
Thanks in advance!
--
You received this message because you are subscribed to the Google Groups "or-tools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to or-tools-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/or-tools-discuss/e0e8747a-1eda-4291-82ea-f5a1185b78c2n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/or-tools-discuss/37108caa-3501-4e95-8d36-c0277e833384n%40googlegroups.com.
--
To view this discussion on the web visit https://groups.google.com/d/msgid/or-tools-discuss/CA%2BJQ7M_LzXLNZxbbdd_oTM2Cew2eh_Ty6kaJU-as6-mnA0N1og%40mail.gmail.com.