ALESSANDRA VIEIRA

  • Gurobi-versary
  • Curious
  • Conversationalist
  • Total activity 29
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 8

Posts

Recent activity by ALESSANDRA VIEIRA Recent activity Votes
  • Create new model in the same C++ file

    Ongoing

    I am modelling in GUROBI  C++. I generate a model with several decision variables and constraints model. Next, I copy the orignal model in new_model and add  new constraint  refering the variables ...

  • Bounds for Variable

    Answered

    I am using Gurobi 9.0, with C++. I am trying to put an array element, that is created for a C++ function ( use random) as a UPPER bound of a GRB Var array, as follows: for ( t = 0; t < z; t++) {  ...

  • Gurobi C++ expr sum

    Answered

    Hi Folks, I need some help with my code. I am using Gurobi C++. I did a QuadExpr sum += sum of GRBVar variables.  How is possible that this sum gives any value different than zero if my variables a...

  • Calback in C++ : list of arguments

    Answered

    I'm trying to use a callback to add a cut that equals a Gurobi expression, which sums a variable, at different times. If I keep the expression in the list of callback arguments, I get an error mess...

  • Find minimal between Gurobi expression and one value

    Answered

    Dear Folks, I am using Gurobi with C++ in VS. I need to choose a value for one Gurobi expression between zero and another Gurobi expression that can have a negative value as result, the latter cont...

  • How to read a rlp model and optmize using VS

    Answered

    Hi Folks, I am using Gurobi C++ using Visual Studio and the model.write ("filename.rlp") in .cpp file. I am trying to read it in another .cpp file. I wrote in .rlp, as recommended by the Gurobi Opt...

  • Time_limit parameter as Cut

    Ongoing

    Hi Folks, I have two questions about Gurobi parameters.. I am using Gurobi C++ to solve a MIP_problem that I need to add CNTR from a previous optimization, each optimization has its own difficultie...