# Improving the Production Efficiency Based on Algorithmization of the Planning Process
## 4 Research Results  
Companies that deal with series production with contracted orders for many years in advance often face similar typical problems. The companies have the know-how to produce a certain product and it allows them to use it for more separate customers, but they face a lack of production capacity to cover customers' deliveries. Also, the transport of imported materials from distant countries can bring difficult situations. The transport can take several weeks and it sometimes happens that a bad batch arrives that does not meet the customer's requirements. Therefore, it is not possible to produce contracted products or reduce productivity on the line. It together with the requirements for the maximum possible reduction of stocks, means that lost productivity can no longer be caught up and therefore deliveries to the customer will not be satisfied. In such a case, it sets the situation, which means stopping the customer production line, which results in huge fines and also a loss of credibility in the business field.  
However, there are two ways to deal with this situation. The first option is to order additional production lines that will produce products for another customer, which solves only the first problem and only partially. Re-ordering a new production line in a corporate environment means several months of analysis, negotiation, design, and approval at the company's headquarters, where they may eventually reject this option for many reasons, often due to high input costs. Industry 4.0 often means multi-million investments and more time spent designing and creating this device. This means that the result can be seen on the horizon of 1-2 years, and the profit will not be brought immediately.  
The second option is the content of this research; it seeks to achieve improvements through a change in the production planning process. The system approach to the planning process should be achieved by its algorithmization.  
The planning algorithm development has expectations as follows:  
* The planning algorithm will improve production efficiency using minimal costs.
* The algorithm will respond to dynamic inputs, and a production plan will be generated so that the warehouses remain permanently at a low level and only what is needed at a given time is produced.
* The approach will bring standardization to the production process, which will have a direct impact on the cost savings associated with storage, and this also reduces secondary costs, when there will be no need to stamp out pieces that are obsolete or damaged by long storage.  
The main aim is to design a planning algorithm that can respond to different, dynamically changing inputs, set priorities based on certain criteria, and compile a functional production plan for a whole week to minimize line shutdown, which is a major problem causing a lack of production capacity.  
The phases to solve this challenge are as follows:  
1. Case study in a real company, basic algorithm development, and its verification.
2. Generalization of the algorithm for use in companies with similar production and planning conditions.
3. Possibilities of further development of the planning algorithm.