Mathematical optimisation, or mathematical programming, is concerned with determining an optimal solution from a set of feasible solutions. The set of feasible solutions is generally defined by so-called constraints on the decision variables. ‘Optimality’ is defined by specifying a so-called ‘objective function’ over the decision variables, which is to be maximised or minimised. Typical examples are cost minimisation or contribution margin maximisation.