V priya
- Total activity 9
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 3
Posts
Recent activity by V priya-
Infeasibility due to modelling the constraints
Answeredimport numpy as npimport cvxpy as cpimport gurobipy as gpfrom gurobipy import GRB n = 5 U_lower_bar_a1 = np.zeros((n, n)) U_upper_bar_a1 = np.zeros((n, n)) s = 0.03 U_lower_bar_a1[0][0] = -...
-
Semidefinite programming
Awaiting user inputI have an SDP problem (essentially it is an LP problem with two semidefinite matrices). Since Gurobi cannot solve it, please suggest an effective way to solve it. I saw the link SDP plugin of the ...
-
Doubt in LP Constraints
AnsweredI have the following code: import numpy as npimport gurobipy as gpfrom gurobipy import GRBn = 3 m = 2 alpha = 0.9 gamma = [0] * ngamma[0] = 1gamma = np.array(gamma)Id = np.identity(n)P_a1 = n...