Skip to main content

Warm start Non-Convex Quadratic Optimization

Answered

Comments

3 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?.
  • Jaromił Najman
    • Gurobi Staff

    Hi,

    You can provide an initial point for a (nonconvex) quadratic problem by setting the Start attribute of your optimization variables or by generating an MST file and using the model.read() function if using an API or the InputFile parameter if using the command line.

    Best regards,
    Jaromił

    1
  • Shuvomoy Das Gupta
    • Gurobi-versary
    • Conversationalist
    • First Question

    Thanks for your info, Jaromił! I am using Gurobi with JuMP in Julia programming language, and your suggestion works. I found out that there are two ways to provide an initial point in JuMP. They are:

    1. set_start_value(variable_name, variable_start_value) function

    or 

    2. MOI.set(nonlinear_model, Gurobi.VariableAttribute("Start"), variable_name, variable_start_value)

     

     

    1

Post is closed for comments.