A Python implementation of the VMCON nonlinear constrained optimiser.
PyVMCON can be installed from PyPI via:
pip install PyVMCON
Or installed from source:
git clone https://github.com/ukaea/PyVMCON.git
cd PyVMCON
pip install .
Tests can be run using pytest tests/
. The tests check the paper examples are replicated. In some cases (I believe due to the way the quadratic programming implementation differs) the values achieved are different to the paper, but still correct; such cases have been noted in the test file.
Documentation for the VMCON algorithm and PyVMCON API/use can be found on our GitHub pages. The documentation includes references to the VMCON paper and other helpful resources.
PyVMCON is provided under the MIT license, please see the LICENSE file for full details.
Copyright (c) 2023 UK Atomic Energy Authority