# Matthias Miltenberger

Gurobi Staff

Gurobi Optimization Support Manager - Berlin, Germany

• 合計アクティビティ 1069
• 前回のアクティビティ
• メンバー登録日
• フォロー 0ユーザー
• フォロワー 0ユーザー
• 投票 48
• サブスクリプション 467

## アクティビティの概要

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

In that case, you should check what the list $$\texttt{p}$$ actually contains. It seems, there are incompatible data types present. Try this code: for n in range(N): for s in range(S): pr...

• Matthias Miltenbergerさんがコメントを作成しました:

Hi Ludwig, it seems that "beet" is not a variable, so you also cannot use it to construct the constraint "beet <= 1". You may have to add another call to addVariable() to do something with those be...

• Matthias Miltenbergerさんがコメントを作成しました:

Interesting! Could you please share the model? It might be some kind of numerical issue, but without more information, this is very hard to say.

• Matthias Miltenbergerさんがコメントを作成しました:

Yes, you should be able to get the dual values of a MIP problem using the fixedModel approach: How do I retrieve the (dual) Pi values for a MIP problem? – Gurobi Help Center

• Matthias Miltenbergerさんがコメントを作成しました:

Your question is unclear. The optimal solution to the small LP file is (values of a_MN): [[-0.  1.  1.] [ 1.  0.  0.]] You want to maximize $$\texttt{min_avg_res}$$, so it will be set to 6, satisfy...

• Matthias Miltenbergerさんがコメントを作成しました:

The code works fine. You must have done something wrong with defining the variables. Here is a minimal working snippet that uses exactly your formulation, except for a correct way to define the x v...

• Matthias Miltenbergerさんがコメントを作成しました:

You can use the method Model.relax() to create the LP relaxation of your model. This can then be saved as a file.

• Matthias Miltenbergerさんがコメントを作成しました:

When modeling nonlinear problems, you should always make sure that the variables that taking part in nonlinear constraints have predefined bounds that are as tight as possible. This reduces the dom...

• Matthias Miltenbergerさんがコメントを作成しました:

Seems OK to me, except that the exponent should be exp(5-x) to match your mathematical equation. Please note that you should also specify tight bounds to all your variables to improve the solver's ...

• Matthias Miltenbergerさんがコメントを作成しました:

Hi Fabio, Please excuse my delayed response. From the code snippet you shared, it seems that you are not working with Gurobi environments explicitly. This means that for every single new Model() ca...