Alessandra Vieira

Gurobi-versary
Conversationalist
First Question
  • Total activity 13
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 4

Activity overview

Latest activity by Alessandra Vieira
  • Alessandra Vieira commented,

    Hi Riley, Hi Simran, long story short: I can't use callback in my case because the expressions and constraints inserted into the model are quadratic!  Multi-scenario is also not an answer, because ...

  • Alessandra Vieira commented,

    Hallo David, Thanks for your answer!  What I need is exactly what stays at your first question "expr1==value implies that binvar[len]=1", the vice versa would be a problem since I don't know to tur...

  • Alessandra Vieira commented,

      Hi David!  Thanks for the answer !  The problem is that I need a constraint to generate a condition for another constraint and not a variable, so would be GenConstrIndicator( expr1== value, *binv...

  • Alessandra Vieira commented,

    Hi David,  I had tried to follow the documentation examples but I am still getting the same error. Could you give an example of using C++ / VS?  , previous settings:    for ( gen = 0; gen <N_GEN ; ...

  • Alessandra Vieira created a post,

    GenConstrIndicator

    Answered

    Hi Guys, the first post was supposed empty, so sorrow if I am repeating the question. I need some help here. I am using  C++/VS and my Gurobi version is 9.1, and I think I can not install an update...

  • Alessandra Vieira created a post,

    Re-optimization updating the model X Callback Code

    Hi Folks,   I trying to solve a  two decisions problem with Gurobi C++ API, the first decision is after minimizing one variable with cost as coefficients, the decision to use the machine on the lis...

  • Alessandra Vieira commented,

    Hi Matthias, Thanks for your answer! What I want now is that the expression that will be minimized besides the coefficient ( C_), also be multiplied for two variables Gurobi, integer P_, and other ...

  • Alessandra Vieira commented,

    Hi Matthias,  I want to get a sum of two variables multiplied over many elements in a loop, it seems that I am just getting one single element of this multiplication.  GRBVar P_[T][N_GEN] ;   // (i...

  • Alessandra Vieira created a post,

    Create a array of binaries variables should I use Gurobi C++

    Answered

    Hi, I am using  Gurobi C++, and I m trying to introduce binaries variables as elements of a  vector to 1 the machine is on,0 otherwise.  How could I do it? Also is it possible to create a vector of...