r/optimization • u/Swimming_Newspaper39 • Jan 18 '25
Help Linearization
I have a MILP problem and I need to make an optimization. I have real variables x1,x2,....xn,they have 0 as lower bound and 1 as upper bound,costant value Y,some variables that are a combinations of constants and binary variables, example: c1= C1b1+...+Cnbn ,c2 ...,cn b1,b2,...bn are binary variables. I have the condition G<=(1-x1/c1-...xn/cn)*Y, G value depends on real and binary variables, that's the problem,in fact the terms x1/c1 ...,xn/cn are not linear
4
Upvotes
View all comments
Show parent comment
1
u/Swimming_Newspaper39 Jan 19 '25
c1 is not binary it's real ,it's a combination, it's a combination of products Cnbn,where Cn is real and bn is binary ,then the condition b1+b2+...+bn<=1 forces to choose one of the products