The project involves the creation of optimization algorithms, including backtracking, greedy algorithms, and metaheuristic approaches, aimed at enhancing the efficiency of production processes in car factories.
C: Number of carsM: ImprovementsK: Classes (subset of improvements)n_e: Set ofnconsecutive cars at stationec_e: At mostc_eof then_erequire the installation of the improvement
Non-compliance with n_e and c_e constraints results in penalties. The total penalty is the sum of the penalties from all stations. Exceeding c_e incurs a penalty of k-c_e euros, where k is the number of consecutive cars that required the improvement and exceeded the allowed maximum at that station.
- Note: Incomplete car windows (start and end of the sequence) are also considered.
- 3 strictly positive integers:
C, M, K. Number of cars, improvements, and classes. Mstrictly positive integers with thec_efor each improvement (improvements are named {0...n} and are made at different stations).Mstrictly positive integers indicatingn_e(also for each improvement)Klines, each containing: an integer identifying the class, an integer indicating the number of cars to produce in this class, andM0s and 1s indicating whether the class requires an improvement or not {0...n}
The program will receive two command-line arguments:
- the name of the input file
- the name of the output file
Input: Output:
10 5 3 3 2.3
1 1 1 2 1 0 1 0 1 2 0 2 0 2 1
2 2 2 3 2
0 4 1 1 0 0 1
1 3 0 1 0 1 0
2 3 0 0 1 0 0
- Ignacio Gris Martín
- Marc Camps Garreta