Hancheng Li
- Total activity 13
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 1
- Subscriptions 5
Activity overview
Latest activity by Hancheng Li-
Hancheng Li commented,
Hi Alex. Thanks for the response, but I don't think it solves the issue, as the code is failing at model creation when it initially communicates with the Compute Server. I think it's gone into idle...
-
Hancheng Li created a post,
Restart Gurobi Compute Server job with python code after status 502
Awaiting user inputI'm hosting a small python web app via Jupyter + Docker on a Linux server, and it has a Gurobi backend set up and connected to the Compute Server via an Instant Cloud license. The solver was workin...
-
Hancheng Li commented,
Thank you Ronald! We do have some other constraints that makes a heuristic approach quite challenging to implement. For example we have constraints saying item A, B & C going to the same country ne...
-
Hancheng Li created a post,
How to model balancing of distribution of resources to different buckets?
Awaiting user inputHi, I'm trying to model the following problem as a MIP: trying to distribute limited supply to a few different destinations, with consideration for balancing, proportional to each destination's dem...
-
Hancheng Li created a post,
Is it possible to use pool map parallelization to speed up construction of MVars and constraints
AnsweredHello. I'm trying to formulate a big MILP with more than 100k rows and 100k columns. I've already implemented matrix form for variables (using addMVar) and constants but it's taking relatively long...
-
Hancheng Li created a post,
How to refactor binary quadratic constraint to linear form when using MVar
AnsweredI'm trying to refactor this quadratic constraint to linear form:var_1 = var_2 · var_3where var_1 is a dimension (a * b) binary MVar, var_2 is a dimension (a * c) binary MVar, and var_3 is a dimensi...
-
Hancheng Li created a post,
Model became infeasible after adding "difference to mean" variables and constraints
AnsweredThe model I'm building includes variables to indicate utilization rates at different facilities. I want to compute the mean utilization rate and add several "difference to mean" variables. I did it...