Lorenzo Moreschini

  • Gurobi-versary
  • Investigator
  • Conversationalist
  • Total activity 46
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 14

Posts

Recent activity by Lorenzo Moreschini Recent activity Votes
  • Different behavior of MIPNODE_OBJBND depending on LazyConstraints param

    Answered

    Solving the same model (with the same fingerprint) with LazyConstraint = 0 (the default) I get the optimal solution in 36 seconds, while using LazyConstraint = 1 (but not actually loading any lazy ...

  • Iteratively apply user cuts before leaving root node

    Answered

    I need to solve a MILP model that is essentially a Travelling Salesman Problem with additional constraints.As the core model is a TSP, most of the complexity is related to tightening the initial re...

  • Get relaxed solution value in callback MIPNODE

    Answered

    How do I retrieve the value of the relaxed solution using the Java API when my callback is called in a MIPNODE and CB_MIPNODE_STATUS is OPTIMAL? In the documentation page I see: MIPNODE_OBJBST   MI...

  • User MIP start in Gurobi logs

    Answered

    When I set an initial solution before solving a Gurobi model, I see one of the following three different kind of output inside Gurobi logs. Case A Warning: Completing partial solution with 30107 un...

  • Lazy constraints and cuts in the same model callback

    Answered

    Let M be the integer programming model I need to implement using Gurobi and let C be a family of cuts I am willing to add dynamically during the resolution.Also, the model M contains an exponential...

  • Adding cuts within Gurobi callback only once.

    Answered

    Reading the Callback Codes documentation, I noticed that when `where == MIPNODE` the MIPNODE_PHASE infomation is available, which is described as follows: Current phase in the MIP solution process...

  • Gurobi performance on virtual machines

    Answered

    Is there any kind of data available about the performance penalties incurred when running Gurobi on a virtual machine with a type 1 hypervisor? Whatever the kind of virtualization, I suppose there ...

  • Gurobi use only one thread

    Answered

    I am running Gurobi 10.03 using the Java API (openjdk 21) to solve a MIP model with 57662 variables and 76414 constraints on a machine with Debian 6.1 and 16 CPUs. As you can see from the attached...

  • Unexpected MIP_SOLCNT value

    Answered

    I am experimenting an unexpected behaviour of the callback value MIP_SOLCNT, which should print the number of feasible solutions found so far (I am solving a MIP problem).As you can see from the lo...

  • GRBCallback.getSolution() for GRBVar[][] array with different inner lengths in Java

    Answered

    I am using the Java API and I am having some troubles with the GRBCallback method double[][] getSolution(GRBVar[][] xvars) documented here https://www.gurobi.com/documentation/9.5/refman/java_cb_ge...