Amir Ghiasi Noughaby

Gurobi-versary
First Comment
Curious
  • Total activity 12
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 5

Activity overview

Latest activity by Amir Ghiasi Noughaby
  • Amir Ghiasi Noughaby commented,

    Thanks for your response.  I understood the model is written in another path, and I fixed the problem.     

  • Amir Ghiasi Noughaby created a post,

    dynamic modeling

    Answered

    Hi,  I need to add a constraint to my model that would be changed after each branching. To clarify it better, I should mention that I have binary variables, named y and x. The relation between them...

  • Amir Ghiasi Noughaby created a post,

    write model

    Answered

    Hi,  Although my model is solved by the solver, and I get the result, the model.write("master.lp") doesn't store any file in my directories. What should I do to solve this issue?  

  • Amir Ghiasi Noughaby created a post,

    set the value of unused variables

    Answered

    Hi,  In my model, there are some unused binary variables. I want to set the default value of them zero rather than one. How can I do this?   Thanks  

  • Amir Ghiasi Noughaby commented,

    Thanks for your response  I have added this model._counter to the callback, and when the model is solved, I print the value of it. However, it is not as same as the LOG value. Why it could happen?    

  • Amir Ghiasi Noughaby created a post,

    what does the summary information in logfile for callback means

    Answered

    Hi,  I use a callback in my model and call another solver in it. After my problem is solved by Gurobi solver, at log output it mentions that  "User-callback calls 62, time in user-callback 2.76 sec...

  • Amir Ghiasi Noughaby created a post,

    classify decision variables according their value in the user callback

    Answered

    Hi,  1) For my callback function, I need to get the value of some decision variables rather than all of them and pass them into model.cbGetSolution. The getVars() method return all the values, but ...