I have the code:
m = Model(with_optimizer(CPLEX.Optimizer, CPX_PARAM_TILIM=1800,CPX_PARAM_SCRIND=0,CPX_PARAM_EPGAP=0.01)) @variables m begin x[i in 1:5] >=3, Int end @objective(m,Min,sum(x[i]^2 for i=1:5)) @constraints m begin co, 2*x + 3x+4x-x+x >= 1 end status=optimize!(m)`` But give a error message. How can I solve a binary quadratic problem by using CPLEX? Anyone has an example to share with me?