-
Notifications
You must be signed in to change notification settings - Fork 27
Description
While getting the CI system to check that examples will execute (PR #57) I came across some issues in the implementation of the examples with optimization. It seems that there are 2 main issues we need to revisit:
-
Conditional compilation with SNOPT/GCMMA/etc. optimizers is not working as expected when it comes to the examples. It seems we need some extra pre-processor guards in the examples' source to handle cases where there is one optimizer available, but not all of them. Right now it seems that the structural topology optimization examples will only successfully link when both GCMMA and SNOPT are available and support built for them in the MAST library.
-
Expand example demos to use NLOPT (or other open-source) optimizer. It seems we might have started to do this, but did not complete it. This will enable us to potentially check these examples execution on CI as well as provide an alternative to licensed (SNOPT) or special distribution (GCMMA) optimizers.