Optimization Plugin Overview
In the Optimization Plugin section, you learn how to create an optimization plugin using Visual Studio through a full example.
Integrated Development Environment
In the plugin example provided, Visual studio is used with the .NET Framework 4.7.2 development tools for the ease of use to create a plugin for an optimization.
Note: Of course, you can use another development environment. If you do so, make sure to use the .NET framework 4.7.2 tools.
Plugin Example Tutorial
In the plugin example, you will:
- take the input variables and increment them with a given amount.
- have the configuration run (this is done automatically).
- receive the new values for the targets that you received.
- loop until a certain number of iteration is reached.
- when this is done, output a report containing the target values for each iteration.
Therefore, you will have to implement the following elements:
- read input arguments for the increment value and the number of iteration.
- register the variables that you want to increment.
- register the targets that you want to have in the report.
- implement the incrementation of the variables.
- implement the reception of the new measures.
- implement the check to finish the iteration loop.
- output a report file.