I am trying to use JumP and Ipopt under Julia v0.7.0. When I try to construct a model:
julia> m = Model(solver=IpoptSolver())
I get the following error message:
Feasibility problem with:
* 0 linear constraints
* 0 variables
Solver is Error showing value of type Model:
ERROR: BoundsError: attempt to access 1-element Array{SubString{String},1} at index [2]
I am using the following versions of the packages:
Ipopt v0.4.0
JuMP v0.18.2
Any ideas? Thanks!
JuMP v0.18.2 does not support Julia v0.7, see this post.
If you want to use JuMP with Julia v0.7 or Julia v1.0 you should just the in-development version of JuMP that will be released as JuMP v0.19 when it is ready.
EDIT: JuMP v0.18.3 now supports Julia v1.0.