Ipopt Windows Error

jump

#1

I got following error when using IpoptSolver on windows. I also tried running Pkg.test(“Ipopt”) and got similar error.

LoadError: ReadOnlyMemoryError()
 in solveProblem(::Ipopt.IpoptProblem) at C:\Users\agraw\.julia\v0.5\Ipopt\src\Ipopt.jl:304
 in optimize!(::Ipopt.IpoptMathProgModel) at C:\Users\agraw\.julia\v0.5\Ipopt\src\IpoptSolverInterface.jl:120
 in optimize!(::MathProgBase.SolverInterface.NonlinearToLPQPBridge) at C:\Users\agraw\.julia\v0.5\MathProgBase\src\SolverInterface\nonlinear_to_lpqp.jl:71
 in #solve#97(::Bool, ::Bool, ::Bool, ::Array{Any,1}, ::Function, ::JuMP.Model) at C:\Users\agraw\.julia\v0.5\JuMP\src\solvers.jl:142
 in solve(::JuMP.Model) at C:\Users\agraw\.julia\v0.5\JuMP\src\solvers.jl:117
 in include_string(::String, ::String) at .\loading.jl:441
 in include_string(::Module, ::String, ::String) at C:\Users\agraw\.julia\v0.5\CodeTools\src\eval.jl:32
 in (::Atom.##61#64{String,String})() at C:\Users\agraw\.julia\v0.5\Atom\src\eval.jl:81
 in withpath(::Atom.##61#64{String,String}, ::String) at C:\Users\agraw\.julia\v0.5\CodeTools\src\utils.jl:30
 in withpath(::Function, ::String) at C:\Users\agraw\.julia\v0.5\Atom\src\eval.jl:46
 in macro expansion at C:\Users\agraw\.julia\v0.5\Atom\src\eval.jl:79 [inlined]
 in (::Atom.##60#63{String,String})() at .\task.jl:60
while loading C:\Users\agraw\Downloads\testIpopt.jl, in expression starting on line 12

#2

I can confirm the same issue on another system.


#3

xref