Tag Info

6

I would approach this as a mixed integer linear programming (MILP) problem. There are a number of MILP solvers, some open source, some commercial (with some of the commercial solvers providing free licenses for educational use). Many of them either have a Python API or can be used with PuLP (mentioned in comment to the selected answer). You might want to ...

5

I won't write a python solution as i am not familiar with any python modeling language but i can describe the approach i took in the past to solve problems like this. I would solve this problem using a technique of finite horizon optimal control where we have an $x_t$ a state vector for each time point, a control signal $u_t$, a prediction $p_t$. The core of ...

1

Depending on what your decision variables are you are looking at an integer, mixed integer, or mixed integer linear programming problem. It seems to me that you want to solve it using a Python model. If that is the case, you can look at Pyomo or PuLP systems if you're looking for open-source solvers.

1

So as a formal answer: your $Q$ is $600$ as the average cycle stock is in pieces. So $$average\space cycle\space stock = 300 = \frac{Q}{2} \implies Q = 300 \times 2 = 600$$ The total average cycle stock value in the exchange curve is the sum of all average cycle stocks of all items in your group you are evaluating, expressed in value. So for one item, your ...

Only top voted, non community-wiki answers of a minimum length are eligible