Originally posted by: SystemAdmin
[seizer said:]
Can someone help with understanding what this particular code does especially with the == sign? I'm not sure since transportCost is not used anywhere in the .mod except for what is shown in the excerpt here.
dvar float transportCost;
minimize transportCost;
subject to {
orderDeliveryCost == sum (orders in orderPaths)
cost[orders] * orderValidPath[orders];
// Forall loops, other logic here...
}
#ConstraintProgramming-General#DecisionOptimization