
Muhammad Ahsan Farooq Rajput
- Total activity 9
- Last activity
- Member since
- Following 2 users
- Followed by 0 users
- Votes 0
- Subscriptions 3
Activity overview
Latest activity by Muhammad Ahsan Farooq Rajput-
Muhammad Ahsan Farooq Rajput commented,
Hi Ryuta Tamura, Thank you for the response. I am interested in understanding how these two constraints were derived. I have reading articles about it but could not crack it so far.
-
Muhammad Ahsan Farooq Rajput created a post,
Need some clarification on the Big M utilization for binary variables to turn constraints on or off
AnsweredZ = model.addVars(j, vtype=GRB.BINARY, name="Z") #indicator variableX = model.addVars(j, i, vtype=GRB.BINARY, name="X")#The above Z[j] indicator variable has been modelled as constraints like...
-
Muhammad Ahsan Farooq Rajput commented,
Hi Simranjit, I modified my code but now i am getting a key error:0 in objective function. Could you please help me ? import gurobipy as gpfrom gurobipy import GRB# Create a new Gurobi modelmodel =...
-
Muhammad Ahsan Farooq Rajput created a post,
Having problems modelling a objective function
Answered#I am trying to code a production model, however my objective function gives me a "key error 1". #Please help me understand where am i getting it wrong ? import gurobipy as gpfrom gurobipy impo...
-
Muhammad Ahsan Farooq Rajput commented,
Jaromił Najman please help !
-
Muhammad Ahsan Farooq Rajput created a post,
Having problems modelling non-linear constraints in Gurobi
OngoingHi, I have a model that i need to optimize using Gurobi. The problem is it has non-linear constraints. I tried modelling it but i got a result from the optimizer that the model is infeasible.