Tanmoy Das
Data Scientist, currently final year in PhD at Dalhousie University. Working on a resource optimization problem
- Total activity 80
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 14
- Subscriptions 26
Posts
Recent activity by Tanmoy Das-
How to model constraint to send only when facility is open?
AnsweredHi, How can I implement a constraint so that resources from facility is sent to customer only when that facility is open? select is a binary variable to send resource r from station s. deploy is a...
-
Gurobi Python code to print non-binding constraints?
AnsweredHello good people, How can I correctly write/save the model.lp file to store non-binding constraints as well? When I write the model.lp file, most constraints are found formulated as expected. Howe...
-
Print all objective function value?
AnsweredHello, model.objval prints only the optimal objective value. But, I need values of objective function for both optimal (and non-optimal) solutions.
-
How to write mathematical formulation based on Gurobi Python script?
AnsweredIs there any API or tools in Gurobi to generate the math equation of constraints based on the Python script of that constraint? I want to get the math formula of the following constraint: model2.ad...
-
How to conduct comprehensive sensitivity analysis?
AnsweredIn my current optimization model, I have 3 binding and 6 non-binding constraint. So, I want to perform a detail sensitivity analysis to see if there is any loophole in the model formulation. Is the...
-
KeyError 10 in Constraint line of Python code; MCLP Optimization model building
AnsweredI am trying to implement a constraint of the maximal coverage problem (Equation 16.2 from the image at the bottom of this post). A minimal Python code is below. But the code is giving me error Key...
-
How to show model equation from .mps file to Jupyter notebook?
AnsweredI need to show the model structure/equation to the Jupyter notebook. I wrote the model into local file (using mps, rlp, lp). Here is the model structure if I open it in text editor. I want to show...
-
Need to (re)optimize model based on parameters/input data (not variables or constraints)
AnsweredOne of my constraints of the optimization model is as below. Once optimal solution is found, I am able to remove some variables & (re)optimize the model. But, I also want to update the value of par...
-
Removing few variable from optimization model
Awaiting user inputI have the following list of Gurobi decision variables. <Gurobi.Var DV[May2021, Journey1]>, <Gurobi.Var DV[May2021, Journey2]>,<Gurobi.Var DV[May2021, Journey3]>,<Gurobi.Var DV[june2021, Journey1]>...
-
How to update value of parameter during model iteration?
AnsweredHello good people, I am aiming to recalculate (&update) parameters value after each (or possible) iterations if x=1. How can I update value of parameter during model iteration? In the given problem...