Giter VIP home page Giter VIP logo

Comments (1)

odow avatar odow commented on July 18, 2024

Not related to POI:

julia> using JuMP, Ipopt
[ Info: Precompiling Ipopt [b6b21f68-93f8-5de0-b562-5493be1d77c9]

julia> direct_model(Ipopt.Optimizer())
Error showing value of type Model:
ERROR: MathOptInterface.GetAttributeNotAllowed{MathOptInterface.Name}: Getting attribute MathOptInterface.Name() cannot be performed: Ipopt.Optimizer does not support getting the attribute MathOptInterface.Name(). You may want to use a `CachingOptimizer` in `AUTOMATIC` mode or you may need to call `reset_optimizer` before doing this operation if the `CachingOptimizer` is in `MANUAL` mode.
Stacktrace:
  [1] get_fallback(model::Ipopt.Optimizer, attr::MathOptInterface.Name)
    @ MathOptInterface ~/.julia/packages/MathOptInterface/AiEiQ/src/attributes.jl:365
  [2] get(::Ipopt.Optimizer, ::MathOptInterface.Name)
    @ MathOptInterface ~/.julia/packages/MathOptInterface/AiEiQ/src/attributes.jl:358
  [3] get(model::Model, attr::MathOptInterface.Name)
    @ JuMP ~/.julia/packages/JuMP/Y4piv/src/JuMP.jl:1163
  [4] name(model::Model)
    @ JuMP ~/.julia/packages/JuMP/Y4piv/src/print.jl:134
  [5] _print_summary(io::IOContext{Base.TTY}, model::Model)

from ipopt.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.