Krzysztof Suwada

  • First Comment
  • First Question
  • Total activity 8
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 3

Activity overview

Latest activity by Krzysztof Suwada
  • Krzysztof Suwada created a post,

    Stock level optimisation

    Awaiting user input

    I am trying to solve the following problem: Given the dataframe with columns: location product current_stock demand price I want to optimize the unmet demand given additional constraints:- the nu...

  • Krzysztof Suwada created a post,

    How to debug frozen solver?

    Awaiting user input

    Hi I have a problem with solver getting stuck at Root relaxation - it stays there for 2h without any progress. Any ideas?    m.params.Presolve = 2    m.params.PreSparsify = 1    m.params.NodefileSt...

  • Krzysztof Suwada commented,

    And then I want to sum-up all the penalties and add it to a objective function.  

  • Krzysztof Suwada commented,

    Ok, and what if I want it to be a part of a variable?something like this code for loc_a in locations:        for loc_b in locations:            if loc_a != loc_b:                m.addConstr(total_v...

  • Krzysztof Suwada created a post,

    Problem formulation for to satisfy the demand for a list of products

    Answered

    I would like to introduce a penalty connected with the number of parcels sent from one location to another.Something like: - if the number of parcels sent is < 15 then the penalty is 0- [15, 20) pe...