![]() |
MAiNGO
|
If you would like to embed MAiNGO in your own application, you need to link it to your software project first. Probably the easiest way it to embed MAiNGO as a submodule of your project. For this purpose, please refer to the CMakeLists.txt
in the trunk of the MAiNGO repository.
For an example of how to use the MAiNGO object, please refer to the file examples/mainCppApi.cpp
. In particular, you need to do the following things:
set_model
function) will not change the model that MAiNGO will use in the next call to solve
etc. If you want MAiNGO to known about these changes, you need to hand the updated model to MAiNGO again using set_model
.MAiNGO is published under the Eclipse Public License - v2.0. Please refer to the LICENSE
file in the root of the MAiNGO repository. Note that the third-party dependencies in the dep
folder use different licenses.
Regarding the implementation of MAiNGO, just explore this documentation. If you intend to contribute your changes to MAiNGO, please follow our naming conventions: