Jose Vindel

Gurobi-versary
Thought Leader
Investigator
  • Total activity 100
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 15
  • Subscriptions 22

Posts

Recent activity by Jose Vindel Recent activity Votes
  • how to write user cuts to an lp file

    Answered

    Hello, I would like to save my user cuts and lazy cuts into an lp file. my cuts are inserted via callbacks. I tried just to save the complete model using: model.write(filename.lp) However, the lp ...

  • Traceback error in gurobi.Model.optimize

    Answered

    Hello, I have defined a function to solve an algorithm. This function has worked before with other instances, now I am testing the algorithm with another instance but I get the following traceback ...

  • Different methods to solve a model

    Answered

    Hello, I am trying to write a piece of script with different methods to solve a problem. This problem has a set of constraints and variables that don't change but the methods do. Each method adds c...

  • Writing LP to an specific location

    Answered

    Hello,  I am trying to save a .lp file of the model I am working on. However, I would like to save it in a different directory. My plan is to have a folder where the scripts are and another folder ...

  • Set ObjBound

    Answered

    Hello,  Just a question, can you update the ObjBound in a MIPSOL? I was reading the documentation and came across  Var.setAttr(GRB.Attr.UB, 0.0) My question is can I do something like this? def laz...

  • Error in computing IIS

    Answered

    Hello,  I am trying to code a program from the following model: \[\text{max}\, \nu_t\] \[\text{st.}\] \[\sum S_{ij}*v_j = b_j\] \[-\nu_j \leq -LB_j\] \[\nu_j \leq UB_j\] \[-\nu_t \leq \nu_{threshol...

  • Unbound Local Error

    Answered

    Hello, I am trying to code an algorithm using defined functions in python and then add a lazy constraint, I took the work done in tsp.py as an example and guide. However, I get the following error:...

  • Does Gurobi favors arrays over lists in python?

    Answered

    Hello, Just a brief question, does gurobi get some beneficial computing time when the data is an array over a list? let's say I am using python and my input data is a list from a csv file, of cours...

  • Error on my lazy cuts

    Answered

    Hello,  I am trying to solve a model using lazy cuts, I've given a look on the example, to the best of my knowledge I am using it right, however, I guess not since I get this error   TypeError ...

  • get solution mipsol

    Answered

    The status of the model I am working on is GRB.INF_OR_UNBD, I am interested in getting the values of my variables so, I tried with callback get solution but I don't seem to get any values for my va...