steel-mill.cpp File Reference
(Revision: 9118)
#include <gecode/driver.hh>#include <gecode/int.hh>#include <gecode/minimodel.hh>#include <fstream>Go to the source code of this file.
Classes | |
| class | SteelMillOptions |
| SteelMillOptions for examples with size option and an additional optional file name parameter. More... | |
| class | SteelMill |
| Example: Steel-mill slab design problem More... | |
| class | SteelMill::SteelMillBranch |
| Custom branching for steel mill slab design. More... | |
| typedef int(* | order_t )[2] |
| Order-specifications. | |
| const int | order_weight = 0 |
| Weight-position in order-array elements. | |
| const int | order_color = 1 |
| Color-position in order-array elements. | |
| int | csplib_capacities [] |
| Constants for CSPLib instance of the Steel Mill Slab Design Problem. | |
| unsigned int | csplib_ncapacities = 20 |
| Number of capacities. | |
| unsigned int | csplib_maxcapacity = 44 |
| Maximum capacity. | |
| int | csplib_loss [] |
| Loss for all sizes. | |
| int | csplib_orders [][2] |
| Orders. | |
| unsigned int | csplib_ncolors = 89 |
| Number of colors. | |
| unsigned int | csplib_norders = 111 |
| Number of orders. | |
Typedef Documentation
| typedef int(* order_t)[2] |
Order-specifications.
Used in the SteelMill example. Type of the order-specification
Definition at line 52 of file steel-mill.cpp.
Variable Documentation
| const int order_weight = 0 |
| const int order_color = 1 |
Initial value:
{12, 14, 17, 18, 19,
20, 23, 24, 25, 26,
27, 28, 29, 30, 32,
35, 39, 42, 43, 44}
Used in the SteelMill example. Capacities
Definition at line 516 of file steel-mill.cpp.
| unsigned int csplib_ncapacities = 20 |
| unsigned int csplib_maxcapacity = 44 |
| int csplib_loss |
| int csplib_orders |
| unsigned int csplib_ncolors = 89 |
| unsigned int csplib_norders = 111 |
