
Eli Towle
- Total activity 1284
- Last activity
- Member since
- Following 0 users
- Followed by 2 users
- Votes 3
- Subscriptions 503
Comments
Recent activity by Eli Towle-
1. Gurobi 10.0.3 constructs piecewise-linear approximations of the nonlinear \(cos\) functions. By default, Gurobi 11 does the same. However, you can ask Gurobi 11 to model these nonlinear function...
-
The current version of YALMIP does not support solving general nonlinear models with Gurobi. If you are interested in using Gurobi's general constraints through MATLAB, you can use Gurobi's native ...
-
The degradation at timestep 2 is the sum of degradation at timestep 0 and 1, etc. Your constraints set the degradation equal to the sum of the weighted statuses at previous timesteps. Do you mean...
-
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...
-
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 ...
-
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...
-
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...
-
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...
-
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...
-
You could write these constraints as indicator constraints using Model.addGenConstrIndicator() (or the overloaded operator \(\texttt{>>}\)): MyAgentShare = my_model.addVars(nagents, name="AgentShar...