Skip to main content

Model parameters as uniform intervals [a,b]?

Ongoing

Comments

5 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 try Gurobot, our chatbot interface offering instant, expert-level support.
  • Maliheh Aramon
    • Gurobi Staff
    Hi Nadi, 
     
    Parameters cannot be defined as variables in Gurobi. To tune parameters on a given model in Gurobi, you can use the Gurobi parameter tuning tool, which can be invoked either by the grbtune command-line tool or tuning APIs
     
    The Gurobi tuning tool currently does not allow the user to define a range of values for a parameter to limit the search over the parameter space. However, the user can provide a list of base settings to be tried first during the tuning process by setting the tuning-related parameter TuneBaseSettings
     
    Best regards,
    Maliheh
    0
  • Maliheh Aramon
    • Gurobi Staff

    Hi Nadi, 

    One of my colleagues, Gwyneth Butera, brought to my attention that the model parameters in your question might not refer to the Gurobi parameters and you might be using this term as it is used in the machine learning community. Could you please clarify what model parameters and variables refer to in your question?

    Best regards,

    Maliheh   

    0
  • Nadi Serhan Aydin
    • Gurobi-versary
    • First Comment
    • First Question

    Hello Maliheh,

    Thanks for following up.

    I mean the coefficients that normally appear in objective function and constraints in product form (e.g., "c", "d" and "e" in a constraint like "c*x1 + d*x2 <= e" ).

    Kind regards,

    Serhan

    0
  • Maliheh Aramon
    • Gurobi Staff

    Hi Serhan, 

    Sorry for the delay.

    As you mentioned, you need to define them as decision variables and set their lower and upper bounds to the values in the given interval. Please check the article How do I model multilinear terms in Gurobi? in case you have not seen it. 

    Best regards,

    Maliheh

    0

Post is closed for comments.