ALESSANDRA VIEIRA

  • Gurobi-versary
  • Curious
  • Conversationalist
  • 合計アクティビティ 29
  • 前回のアクティビティ
  • メンバー登録日
  • フォロー 0ユーザー
  • フォロワー 0ユーザー
  • 投票 0
  • サブスクリプション 8

アクティビティの概要

ALESSANDRA VIEIRAさんの最近のアクティビティ
  • ALESSANDRA VIEIRAさんがコメントを作成しました:

    Hello David, Thank you for your answers. The code that  referred to :  new_model.reset();original_model.reset();new_model.write("problem_2.lp");new_model.optimize();//   Retrieving variables from t...

  • ALESSANDRA VIEIRAさんがコメントを作成しました:

    Thank you for your answer!You wrote: "The model was copied but the variable objects you created for the first model are still attached only to this one.", soI can't understand how: after using rese...

  • ALESSANDRA VIEIRAさんが投稿を作成しました:

    Create new model in the same C++ file

    進行中

    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 ...

  • ALESSANDRA VIEIRAさんがコメントを作成しました:

    Hi Riley,   Thank you! With the suggested approach (and also remembering that Q(x) has many variables compounding it, as the x goes further in set X, the previous constraint in x-1 must be removed ...

  • ALESSANDRA VIEIRAさんがコメントを作成しました:

    Hi people,    I'm still trying to solve my problem... I tried several scenarios,didn't work at all, first I tried just to change in RHS (Gurobi 11/C++) expr[x].RHS(new_value), but it wasn't recogni...

  • ALESSANDRA VIEIRAさんがコメントを作成しました:

    Hi Simran, Thank you for your fast answer! My optimization procedure in summary consists of the following : -Runs suboptimal model without constraint in while loop; -Add constraints in part, until ...

  • ALESSANDRA VIEIRAさんがコメントを作成しました:

    Hi, Would it be possible to run the same model in consecutive optimizations? removing from the previous constraint, then running again, without the last optimization being influenced by the removed...

  • ALESSANDRA VIEIRAさんがコメントを作成しました:

    Hallo gurobot!  The question is :  GRBVar x;GRBLinExrpr b;GRBQuadExpr c;GRBLinExpr d;c=6*x;d=x+x;b= c+d; The solver does not accept, the sum of expr can be easily a LinExpr, but  I think is because...

  • ALESSANDRA VIEIRAさんがコメントを作成しました:

    Hi Matthias, The problem is my array P_wind is one single function output, that was randomly chosen from one data  2-D array [T][N] that will be the Upper Bound (UB) for the Gurobi variable W_curt[...

  • ALESSANDRA VIEIRAさんが投稿を作成しました:

    Bounds for Variable

    回答済み

    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++) {  ...