
Nick Fryganiotis
- Total activity 12
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 5
Posts
Recent activity by Nick Fryganiotis-
Product of integer and binary linearization
AnsweredHi, consider the product of a binary variable x, with an integer variable y. How to efficiently linearize this term? Also is it is better to linearize this term, or gurobi solver can handle it? Th...
-
MILP bilinear constraints
Awaiting user inputI have a mixed integer linear program. My objective function involves the sumation of binary variables and quadratic terms of continuous variables. When i execute the model optimize function i get ...
-
Douple vtype for variable created by addVars
AnsweredCould i define 3-index variable using addVars where for the first index when it's value is less than 2 it will be a binary variable, otherwise it will be a continuous varible.
-
Integer division in integer programming
AnsweredIn case of an integer programming problem, i would like to add in the objective function an integer division of a decision variable with a constant number. Is there any efficient way to implent thi...
-
Conditional stament in Gurobi
AnsweredConsider a binary variable \(x_s(t)\), and a continuous variable \(z_s(t) = t - t_s\), where \(t_s\) is a known constant. We define a conditional variable \(sr_s(t) = x_s(t)\) if \(0 \leq z_s(t) < ...