MacMPEC Collection
This library contains some selected MPCC problems from the MacMPEC Collection originally built in AMPL by Sven Leyffer. For this library, these problems were written in Julia as a JuMP model and they are described below along with a link to the .jl file in the github repository.
Minimum weight design problem from M.C. Ferris and F. Tin-Loi, On the solution of a minimumWeight elastoplastic problem involving displacement and complementarity constraints, Comp. Meth. in Appl. Mech & Engng, 174:107-120, 1999.
Goal: minimize the volume of a struture with fixed topology that has to resist certain specified loads while keeping displacements within a specified limit.
where the variables are
$u \in \mathbb{R}^{nd}$ - displacements
$z \in \mathbb{R}^{ny}$ - plastic multipliers
$a \in \mathbb{R}^{nm}$ - cross-sectional areas
$Q \in \mathbb{R}^{nm}$ - natural generalized stresses
$S \in \mathbb{R}^{nm}$ - element stiffness
$H_i \in \mathbb{R}^{ny \times ny}$ - hardening models
$r_i \in \mathbb{R}^{ny}$ - yield limits
$w_i(Q(z),z): \mathbb{R}^{ny} \rightarrow \mathbb{R}^{ny}$ - linear yield function
and parameters are
$E = 2e4$
$\sigma = 50$.
$nm$ is the number of elements, $nd$ is the number of structure degrees of freedom and $ny$ is the number of yield functions per element.
($Ta = 0$ corresponds to technoogical constraints on the design variables $a$)
Two-level optimization toy model presented in J.F. Bard, Convex two-level optimization, Mathematical Programming 40(1), 15-27, 1988.
It can be reformulated as a MPCC problem by using the KKT conditions of the inner problem as constraints for the outer problem.
where $\lambda_i$ is the Lagrange multiplier corresponding to the $i^\text{th}$ inequality of the inner problem.
Toy model
Toy model