Ishit Bajpai
- Total activity 10
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 3
Activity overview
Latest activity by Ishit Bajpai-
Ishit Bajpai commented,
Thanks for your reply. After adding this i am getting my objective value as 0.I am also unable to retrieve decision variable's value. Following is the code where mycallback is the function used abo...
-
Ishit Bajpai commented,
is there any function like BarConvTool which instead of taking relative difference as parameter takes absolute difference as parameter ?
-
Ishit Bajpai created a post,
I want to stop my LP when |primal obj - dual obj| <= 1.and want decision variable values and optimal solution values.
AnsweredBelow code was suggested to me by an expert , however it terminates once it reaches a gap = 1 and i am unable to get decision variable values and optimal solution. import sysimport gurobipy as gpf...
-
Ishit Bajpai created a post,
Barrier is not working properply
AnsweredI am using the below methods to run my Lp faster. m1.params.Method = 2 # fix to barrierm1.params.BarConvTol = 1m1.params.OptimalityTol = 1e-2m1.params.OptimalityTol = 1e-2However it is taking a lot...
-
Ishit Bajpai commented,
Thanks for your answer. I set my difference as 1 and got the desired result. Custom gap reached 12 2.94524 2.2359 0.00116249 1.27134e-14 1.57297e-06 However,I want decision variable's value also. o...
-
Ishit Bajpai commented,
Thanks for your quick response. I am facing an issue while using the below code. m1.setParam('MIPGapAbs', 5) m1.optimize() This code is not able to terminate the LP when |Primal(objective) - Dual(...
-
Ishit Bajpai created a post,