Ahmed Azab
-
Gurobi Staff
- Total activity 66
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 9
- Subscriptions 29
Comments
Recent activity by Ahmed Azab-
Hi Jai, In addition to the previous explanation, I recommend reviewing the following examples from the Gurobi Machine Learning documentation: https://gurobi-machinelearning.readthedocs.io/en/stable...
-
Hi 子龙 王, The problem you're encountering occurs because your code is trying to find certain keys in the x dictionary that actually don't exist, resulting in a KeyError. This issue pops up due to th...
-
Hi AMIT, Please refer to the Gurobi reference manual for a better understanding of using Gurobi with MATLAB. Here, you will find MATLAB API Overview.Here, you will find more MATLAB Examples. - Ahmed
-
Hi Matthew, The following Python code can also do what you are looking for. import gurobipy as gpm1 = gp.read("test.mps")m1.read("test.sol")m1.params.SolutionLimit=1m1.optimize()m1.write("test.rew"...
-
The reasons for the errors you have in constraint 4 are as follows: # constraint(4) idea1 quicksum(D[p*x[i, j - 1, p]][q*x[i, j, q]] TypeError: list indices must be integers or slices, not gurobi...
-
Hi Venkateswara, conda install -c gurobi gurobi should work for you. The conda gurobi package includes gurobipy. For comprehensive instructions on installing Gurobi for Python, please refer to t...
-
You can rearrange the equality so that all variables are on the LHS, and the RHS value is zero: X = Y - Z to be X - Y + Z = 0 I am not familiar enough with the Matlab API to provide a specific im...