代码之家  ›  专栏  ›  技术社区  ›  Hamlet

跳转和Ipopt错误

  •  1
  • Hamlet  · 技术社区  · 7 年前

    我想在Julia v0.7.0下使用JumP和Ipopt。当我试图构建模型时:

    julia> m = Model(solver=IpoptSolver())
    

    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]
    

    我正在使用以下版本的软件包:

    Ipopt v0.4.0
    JuMP v0.18.2
    

    有什么想法吗?谢谢!

    1 回复  |  直到 7 年前
        1
  •  0
  •   Benoît Legat BruceAdi    7 年前

    JuMP v0.18.2不支持Julia v0.7,请参见 this post

    编辑 :JuMP v0.18.3现在支持Julia v1.0。

    推荐文章