- Sensitivity matrices with K*dsdp = [d2Ldxdp^T dcdp^T]
- Reduced Hessian matrices
- Hessian and Jacobian computation via ASL.
dot_sens
computations (for sensitivity)
k_aug is compatible with Pyomo and AMPL via ASL. The main functionality can be used through suffixes.
- CMAKE Version 3.5 or higher.
- In some systems zlib might be required. For example, in ubuntu one can get it by using
sudo apt install zlib1g-dev
. On a macbrew install zlib
reportedly works. - gcc compilers including gfortran
- MC19 (HSL)
- METIS (Script that downloads and configures is included)
- SCOTCH (Script that downloads and configures is included)
- OPENBLAS (Script that downloads and configures is included)
- MUMPS (Script that downloads and configures is included)
- ASL (Script that downloads and configures is included)
- MC30 (HSL) (NOW OPTIONAL)
- Pardiso (NOT SUPPORTED ANYMORE)
- Be sure to have a steady internet connection. Enter thirdparty directory and run the get.X or help.X scripts in the following order:
ASL
OpenBlas
Metis
Scotch
Mumps
- Download and place the .tar.gz file of mc19 into the thirdparty/hsl/mc19 directory and then run
help.mc19
- At the root directory use cmake to generate the makefile e.g.
cmake CMakeLists.txt
- Run
make
- Check the bin directory to find the
k_aug
executable
- AMPL can not recognize command line options
- MUMPS will often try to use multiple cores. It is preferable to turn off this functionallity, set
OMP_NUM_CORES=1
.
So far, hundreds of times tested.
k_aug
is part of the NMPC-MHE framework. Written by David Thierry, under BSD 3-Clause license.