Sab

Gurobi-versary
First Comment
First Question
  • Total activity 13
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 3
  • Subscriptions 4

Posts

Recent activity by Sab Recent activity Votes
  • IndexError: too many indices for array

    Ongoing

    Hi! I am currently developing a model using matrices in python and I am keep getting the same error "IndexError: too many indices for array" my two variables are are vectors of 3, for example: [1, ...

  • General constraints Output

    Answered

    Hello,  I am verifying my model and my output states "The model has 10 general constraints". I am not sure what constraints is the model counting to get 10 since I wrote a total of 12 constraints o...

  • Objective function result

    Answered

    Hi! I am currently working on optimizing the average coverage of different locations.  The sets are: Ict = [ "1","5","4"] #, "77003", "77063"] # Candidate  locationsIt = [ "9","6","8" ] #"77005","7...

  • TypeError: '<' not supported between instances of 'Var' and 'Var'

    Answered

    I am trying to write a constraint for: E_im<= min {xi,...,xim} for example: E_12 <= min(x["1"], x["2"])  where  x is a binary variables and E is a 2d binary variable. The values come from a matrix ...