How to declare a binary variable in a robust optimization model?

Asked

Viewed 24 times

0

I’m trying to declare a binary variable in a robust model, but every time I try the following error message appears: In @variable(ModeloD,b[A],lower_bound = 0,Bin): Unrecognized keyword argument lower_bound.

I am using version Juliapro 1.5.2-1. How should I declare this variable?

using JuMP, JuMPeR, GLPKMathProgInterface
ModeloD = RobustModel(solver = GLPKSolverLP())
a = 1:4
A = a
@variable(ModeloD,b[A],lower_bound=0,Bin)
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.