Sander Mertens

  • Gurobi-versary
  • Curious
  • Conversationalist
  • Total activity 17
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 5

Activity overview

Latest activity by Sander Mertens
  • Sander Mertens commented,

    Thank you, works perfect!

  • Sander Mertens created a post,

    Retrieve a specific subset value of variables

    Answered

    Hello, Is there a way to retrieve the value of a subset from a specific variable within Gurobi?For instance, allot of X variables are created in the form of X[a,b,c,t]. After optimization, I want t...

  • Sander Mertens created a post,

    IP model takes too long to solve

    Answered

    I have a pure integer problem which takes very long to solve (I don't know the exact time, but after times over 12 hours there was still no solution).The model has a size of:143,442 rows, 161,547 c...

  • Sander Mertens commented,

    Thank you for your clear answer, despite the mistakes in my post. The constraint finally seems to work!

  • Sander Mertens commented,

    My apologies, you're right. The additional condition for t can be dropped so that it the constraint must only hold for all j (except 12) and t:

  • Sander Mertens commented,

    First an multidict is created: proc_combo, costs = {(0, 0, 0): 5, (0, 1, 1): 10, (1, 1, 1): 15, (0, 2, 2): 20, (1, 2, 2): 25, (0, 3, 3): 30, (0, 4, 4): 35, (0, 5, 5): 40, (0, 6, 6): 45, (1, 6, 6): ...

  • Sander Mertens created a post,

    Unable to model constraint

    Answered

    I've tried everything to add a constraint to my model, but I just can't seem to get it to work. The constraint I'm trying to add is: In my model, t is defined as a list of time points where the las...

  • Sander Mertens commented,

    If you don't mind, I have a additional question. As can be seen before, the X variables have four subsets. In my objective function I want to sum all the X variables together, with an exclusion of ...

  • Sander Mertens commented,

    Thank you!

  • Sander Mertens created a post,

    Dependent variables

    Answered

    Hi, I was wondering how dependent variables should be handled within Gurobi. For instance, the decision variable in the model is X_{t}. Another variable, S_{t} is dependent on the value of the deci...