
Eli Towle
- Total activity 1279
- Last activity
- Member since
- Following 0 users
- Followed by 2 users
- Votes 3
- Subscriptions 501
Activity overview
Latest activity by Eli Towle-
Eli Towle commented,
Below is a code snippet that should remove from the model variables that: Do not appear in any linear constraints, Do not appear in any general constraints, and Have a linear objective coefficient...
-
Eli Towle commented,
From the documentation for GRBnewmodel: Note that the new model will get a copy of this environment, so subsequent modifications to the original environment (e.g., parameter changes) won't affect ...
-
Eli Towle commented,
If you intend to use the same \( x \) variable for each \((i, j)\) in \(\texttt{E0}\) that also exists in \(\texttt{E + E1 + E2}\), you could define the \( x \) variables using only the unique elem...
-
Eli Towle commented,
Based how you described the problem, I assume there should be one variable for every combination of an element/pair from \(\texttt{E0}\) and an element/pair from \(\texttt{D_s_t}\). Is that correct...
-
Eli Towle commented,
Can you clarify what you mean by "it should be in one table"? You will have to define the \(\texttt{flow}\) variables and \(\texttt{units_flow}\) variables separately. Can you share what code you h...
-
Eli Towle commented,
The \(\texttt{quadcon}\) named component should be a list of lists. For each element/list, the \(\texttt{Qc}\) named component defines the matrix for the corresponding quadratic constraint. The fol...
-
Eli Towle commented,
You could write these constraints as indicator constraints using Model.addGenConstrIndicator() (or the overloaded operator \(\texttt{>>}\)): MyAgentShare = my_model.addVars(nagents, name="AgentShar...
-
Eli Towle commented,
It's hard to say what the issue could be without more information. If the numerics-related suggestions posted to your The wrong objective value thread do not help, please upgrade to the latest vers...
-
Eli Towle commented,
Warnings in the log output suggest the model's numerics could be a factor: Coefficient statistics: Matrix range [0e+00, 0e+00] Objective range [2e+06, 4e+09] QObjective range [4e-03, 9e+02]...
-
Eli Towle commented,
The mapping between the original model and the presolved model is not exposed. We don't recommend working on the presolved model, because in general there's no way to recover a solution to the orig...