Code Monkey home page Code Monkey logo

Comments (3)

awinkler avatar awinkler commented on June 7, 2024 1

Hi! It works without the option, although IPOPT might do some smarter tricks when you additionally set that option, I haven't experimented with that yet.

Generally I've found it's quite difficult to warm-start interior point methods like IPOPT, because of the way they solve the problem: The initial variables are often changed a lot to move into the center of the constraints during the first iteration. SQP methods, like SNOPT, might be a better choice if you have trustworthy information of the initial values (like in Model-Predictive-Control, where the initial values can be the solution of the previous solve).

from ifopt.

junhyeokahn avatar junhyeokahn commented on June 7, 2024

Thanks for your kind reply!

from ifopt.

mzwang828 avatar mzwang828 commented on June 7, 2024

Hi! It works without the option, although IPOPT might do some smarter tricks when you additionally set that option, I haven't experimented with that yet.

Generally I've found it's quite difficult to warm-start interior point methods like IPOPT, because of the way they solve the problem: The initial variables are often changed a lot to move into the center of the constraints during the first iteration. SQP methods, like SNOPT, might be a better choice if you have trustworthy information of the initial values (like in Model-Predictive-Control, where the initial values can be the solution of the previous solve).

Hi @awinkler, I have the same question about using SNOPT. Do I just set the variables with good initial values or I should also change the parameter "Cold" in the snopt_sovler.cc? Once I set Cold = 2, which stands for warm starting, SNOPT gives warnings of "Invalid argument Fstate" and it seems that Fstate are not assigned with any meaningful values in SnoptAdapter. Thank you!

from ifopt.

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.