Home Machine Learning A Complete Information to Modeling Methods in Combined-Integer Linear Programming | by Bruno Scalia C. F. Leite | Mar, 2024

A Complete Information to Modeling Methods in Combined-Integer Linear Programming | by Bruno Scalia C. F. Leite | Mar, 2024

0
A Complete Information to Modeling Methods in Combined-Integer Linear Programming | by Bruno Scalia C. F. Leite | Mar, 2024

[ad_1]

A number of operations analysis issues embody planning over a discrete horizon. In such conditions, actions taken at a given second from the timeline will have an effect on how choices ought to be carried out sooner or later. As an illustration, manufacturing and stock planning often contains balancing between holding stock prices, setup prices, inventory protection, and demand forecast, amongst different points. The quantity produced of a given product at a given second is often a choice to be taken and it ought to have an effect on the product availability not solely when produced but in addition sooner or later when contemplating the potential of stocking items.

Stock steadiness

To calculate stock steadiness, allow us to outline a discrete planning horizon T with instants t. The stock at a given second will likely be a choice variable I listed by the weather of the set T. If we outline inputs (as an example the variety of gadgets produced) and outputs (corresponding demand or gadgets transported) of a given second as x and d respectively, we will compute the ultimate stock at a given second as the ultimate stock of the earlier second plus inputs minus outputs.

Graphical illustration of stock steadiness in a discrete planning horizon. (Picture by the writer).

Bear in mind the inputs and outputs may be mounted parameters of the issue or additionally choice variables.

We will put it in equation type as the next.

Easy stock steadiness equation. (Picture by the writer).

A fantastic instance for instance that is the Dynamic Lot-Measurement mannequin. Nonetheless, extra advanced choices may be concerned within the course of and new parts ought to be included within the stock steadiness equations then. One instance will likely be offered proper subsequent.

Stock with backlogs

Now suppose we’ve got deterministic calls for d for every second t, however we’d determine to postpone a few of them to scale back our prices (as an example setup prices or mounted expenses in transportation techniques). These would possibly grow to be backlogs in a list steadiness equation, often with some related price within the goal operate(s). As soon as once more contemplate our inputs are represented by x, however now we’re additionally going to incorporate a non-negative choice variable for backlogs b, additionally listed by t. The brand new stock steadiness equation turns into the next.

Stock steadiness with backlogs. (Picture by the writer).

Then it’s as much as the optimization solver to outline when a requirement ought to be postponed to scale back general prices.

Begins and Endings

Some planning processes embody scheduling actions that begin at a sure second and would possibly final for a couple of on the spot within the discrete planning horizon. When inserting these choices in an optimization mannequin, often it’s as much as the mannequin to outline when the exercise begins, when it ends, and probably its corresponding length. Due to this fact, we should embody some binary choice variables to characterize these choices.

To a greater understanding of the modeling expressions, allow us to visually characterize an exercise that begins at a given second, is lively throughout some instants of the planning horizon, after which ends.

Exercise scheduled in a discrete planning horizon. (Picture by the writer).

Discover that an exercise begins in a second wherein it’s lively however it should be inactive within the earlier on the spot. Conversely, at its ending, there’s no rule concerning the earlier on the spot however it should be inactive within the following one.

To put in writing that into mathematical expressions, allow us to use three teams of choice variables — all of them listed by the weather of the planning horizon T. The variable x will likely be used to indicate a second wherein the exercise is lively, y will denote its begin, and z denote its ending.

To acquire a good linear rest and assist the solver throughout Department & Certain, three teams of constraints will likely be created to ascertain the connection between x and y, and the identical between x and z.

To determine begins:

Set of constraints to determine the begins of an exercise in a discrete planning horizon. (Picture by the writer).

And to determine endings:

Set of constraints to determine the endings of an exercise in a discrete planning horizon. (Picture by the writer).

Further implication constraints may be included within the first and final instants to make sure the specified relationships between x, y, and z in these moments.

[ad_2]