At Mark 29.3, NAG introduces a cutting-edge solver () designed specifically for addressing large-scale mixed-integer linear programming (MILP) problems. This marks a significant stride in NAG’s commitment to enhancing and broadening its offerings in the field of mathematical optimization.
MILP finds widespread application across diverse industries, including but not limited to finance, manufacturing, logistics, transportation, and telecommunications. By accommodating both continuous and discrete decision variables, the solver empowers organizations to model practical and challenging problems, including resource allocation, scheduling, and network flow.
Large-scale MILP problems of the form
| (1) |
where \( A \in \mathbb{R}^{m\times n} \)
Model (1) covers many practical use cases. One of the distinctive features of MILP is its capability to model logical conditions such as implications or dichotomies.
Take fixed charge modelling as an example. Economic activities frequently involve both fixed and variable costs. In these cases, a fixed cost \(c_{fix} \) only occurs when variable \( y \) is positive. Given a variable cost \(c_{var}\), the total cost when \( y \) is \(c_{fix} \) + \(c_{var}y\) and 0 otherwise. It’s easy to observe that the cost function is nonlinear. By introducing binary variable \(x\) we can model it as the linear expression
Where we add constraints
Where \(M \) is an upper bound of \(y\) and should be chosen as the tightest known bound, instead of an arbitrarily large \(M \). This modelling technique appears in applications such as facility location and network design.
Another great usage of MILP is to model disjunctions. For example, when scheduling jobs on a machine, we might want to allow job \(i\) to be scheduled before job \(j\) or vice versa. Let \(p_{i} \) and \(p_{j} \) denote the processing time of job \(i\) and \(j\), while \(t_{i}\) and \(t_{j}\) represent their starting times. Then we will require at least one of the following constraints is satisfied.
By introducing binary variables \(x_{1} \) and \(x_{2} \), the problem can be modelled as
where \( M \) again is positive and serves as a known bound.
There are many other types of constraints that are very useful in the field of operations research, including but not limited to
See [1, 2] for more formulation techniques and its usage in scheduling.
Figure 1: Illustration of a branch-and-bound tree
In order to solve (1) efficiently, the branch-and-bound algorithm serves as a fundamental framework, which is equipped with modern MILP techniques such as preprocessing, cut generation and various heuristics. A portion of a branch-and-bound tree is depicted in Figure 1. Starting from the original problem, noted as root node, the algorithm generates various child nodes by shaping the feasible region via adding more constraints, such as Gomory fractional cut. Each node is solved as a continuous linear programming by an efficient dual simplex method. Various heuristics are adopted to get a better lower bound. By successfully pruning the search tree and selecting the search nodes, it greatly increases the chance for a branch-and-bound algorithm to find the optimal solution in a reasonable time. See [3] for more details on algorithms to solve MILP.
The MILP solver is fully integrated into the NAG Optimization Modelling Suite, which allows users to better express the real-world problems into the mathematical model, enhancing the understanding of the inner working of the model. During the modelling process, the users can
The solver is available for multiple languages and environments including C and C++, Python, Java, .NET and Fortran, on Windows, Linux and MacOS. See the Getting Started page for how to download and install.
This will close in 20 seconds