Hi guys, i have a set j from j=1 to j=20 (j=1, 2, 3...20)
And i have a constraint:
But i need to apply this constraint just for specific j. In this const. just for j=1, j=4, j=7, j=10, j=13, j=16, j=19 (the last one plus 3)
How can i implement this?
Search found 4 matches
Search found 4 matches • Page 1 of 1
Paulo, We don't use strict inequalities in optimization. Google strict inequality math programming for a wealth of reasons why, perspectives, examples, etc. You could use a Big-M method: given a binary variable y, use x-y <= M * y y-x <= M * (1-y) if M is large enough, the constraint x-y<=0 is on w...
First of all i wish to tell that i am new in this forum so forgive me for any errors but i really need your help. I am currently doing my last academic work at the university on a MIP model about planning offloading operations on oil plataforms. I have a condition in my work i just dont know how to ...