Originally posted by: SystemAdmin
[jfk said:]
hello there,
it is interesting that you want to relax variables (I suppose you are talking about their upper-lower bounds). how are the constraints? Anyway...
1. you could start to solve a problem with large enough domains for its variables and then you could take the upper bounds (UB - or lower bounds (LB)) of the variables in that solution and start another problem where you gradually decrease these bounds (based on some logic) to be close to their original UB,LB values.
2. or you could introduce bound variables for each variable which has the domain of [UB,LargeNumber] or [SmallNumber,LB] , e.g. if the variable is x and its domain is [12,25] then you could have LBx = [SmallNumber,12] and UBx=[25,LargeNumber] and LBx<=x<=UBx. Then you can compose some goal function from the LBx, UBx to tighten x's LB,UB as much as possible<br />3. the feasibility of no.2 depends on the number of variables you have. If they are too numerous no.2 might be not a good option.
cheers
p.s.
I gave some answer (which might not be any help, btw) without any reference to OPL, so I guess, your question is less OPL specific and more on general modeling, don't you think?
#DecisionOptimization#OPLusingCPOptimizer