OneCable OneCable
- Total activity 33
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 9
- Subscriptions 10
Posts
Recent activity by OneCable OneCable-
Ignored lazy constraints lead to wrong solution -- another case
Hello,I seem to have a problem similar to posts such as these:https://support.gurobi.com/hc/en-us/community/posts/360078071312-Ignored-lazy-constraint-leads-to-wrong-solutionSince that post is clos...
-
Query on GRBcblazy() -- what happens if added lazy cut is wrong and does not cutoff current candidate MIP solution
OngoingHello,From https://docs.gurobi.com/projects/optimizer/en/current/reference/c/callback.html#c.GRBcblazyYou would typically add a lazy constraint by querying the current node solution (by calling GRB...
-
Query on settings for branch-and-cut where LP is converted to MIP
AnsweredHello,In the example provided with the library, tsp_c.c, GRBaddvar(model, 0, NULL, NULL, distance(x, y, i, j)/2, 0.0, 1.0, GRB_BINARY, name); ... /* ...
-
Setting lower and upper bounds on multiple variables in a single API call
AnsweredFrom https://docs.gurobi.com/projects/optimizer/en/current/concepts/attributes/examples.html I am able to gather the following as the way to set bounds on ALL variables in a model.double lb[NUMVARS...
-
Equivalences to certain CPLEX API calls/parameters
Hello, I want to find out whether there are any advantages to switching from CPLEX to Gurobi routines for my model. I plan to use the C API in GRB as well, just like I do in CPLEX. Although I h...
-
Release build via CMake vs raw Makefile
AnsweredHello, Going through this post, I observe that for CMake builds, explicitly user care has to be taken for release mode builds vs debug mode builds. The same care does not seem to be required of raw...
-
Usercut callback and lazycut callback via C
AnsweredHello, I am trying to understanding how I should inform Gurobi when it solves an MIP that there should be different functions called for usercuts and lazycuts. I have prior CPLEX experience and I a...