
V priya
- Total activity 12
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 4
Posts
Recent activity by V priya-
Lower bound of non-convex problem not improving
AnsweredThe following is my code: z = sdpvar(1);f_a1 = sdpvar(n,1);f_a2 = sdpvar(n,1);for i = 1:n % Spans for all states beta_c{i} = sdpvar(size(b{i},1),1); beta_d{i} = sdpvar(size(b{i},1),1); mu...
-
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...