Jaromił Najman
Gurobi Staff- Total activity 4275
- Last activity
- Member since
- Following 0 users
- Followed by 7 users
- Votes 11
- Subscriptions 1474
Activity overview
Latest activity by Jaromił Najman-
Jaromił Najman commented,
Hi Zhongfan Gu, As you can see, the problem still remains unresolved. Could you provide further guidance on how to proceed? That's interesting. You could try running without the Presolve=2 settin...
-
Jaromił Najman commented,
Hi Zhongfan Gu, From my understanding, both approaches should theoretically yield the same optimal solution, but this does not seem to be the case here. Could someone please explain why this discr...
-
Jaromił Najman commented,
Proving unboundedness for nonconvex models is very challenging. The issues arise in the convex (linear) relaxation that is constructed for a given nonconvex problem. Due to unbounded variable value...
-
Jaromił Najman commented,
Hi Xuan Lin, May I ask a minor question: does the column "unexplored nodes" always goes to 0 as the algorithm terminates? Yes, the column "unexplored nodes" goes to 0 when the algorithm terminate...
-
Jaromił Najman commented,
You have to set the variable's vtype to be integer, see the documentation of addVars. BatteryPower = steel.addVars(time1, lb= -3, ub = 3, vtype=gp.GRB.INTEGER, name="BatteryPower")
-
Jaromił Najman commented,
How do I write it as variable? You already added it as a tupledict of variables by the code BatteryPower = steel.addVars(time1, lb= -3, ub = 3, name="BatteryPower") You now just have to access it...
-
Jaromił Najman commented,
You define BatterPower via the addVars method. This means that the object BatterPower does not hold a single variable, but a tupledict of variables. Did you mean to access \(\texttt{BatteryPower[t]...
-
Jaromił Najman commented,
How do you define the optimization variable BatteryPower? Is it only one variable?
-
Jaromił Najman commented,
Hi Margi, Does that mean If I define SoC as a variable, I don't require to define BatteryPower as a variable? No, you still need to keep BatteryPower as a variable, because as you said it can tak...
-
Jaromił Najman commented,
Thats correct. I understand but then how it is possible to calculate BatteryPower necessary for the objective function? BatteryPower is an optimization variable itself. This means that you can us...