« Return to Thread: [AMPL 2612] change variable bound

Re: [AMPL 2612] change variable bound

by Yasin053 :: Rate this Message:

Reply to Author | View in Thread

I think you should add a constraint into your model that ensures that x[28] <=0.8.

Ali Baharev wrote:
I would like to change the upper bound of x[28] from 1.0 to 0.8 in

var x{ i in 1..1000} >= 0.1, <= 1.0;

How can i do that?

Any help is appreciated,

Ali

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group.
To post to this group, send email to ampl@googlegroups.com
To unsubscribe from this group, send email to ampl+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/ampl?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: [AMPL 2612] change variable bound