The Main Window
After starting OpenOpal, the main GUI appears (Fig. 1). The figure contains an example for an optimization using 4 Modules. Each module has a name and an unique ID. OpenOpal is a strictly modular software. All functionality for automated optimization and machine learning is encoded in the modules. Here:
Module 1 (
OptAlgCMA) is an optimization algorithm. It is connected via Module 3 (
Protocoller) with Module 2 (
ProblemSimple). Module 2 contains the optimization problem, i.e. the function to minimize. Here, it is a simple continuous, quadratic function.
Module 3 (
Protocoller) is a protocoling module, i.e. it stores all evaluated solutions of an optimization run. These solutions can be visualized with Module 4 (
Adding, Editing, and Connecting Modules
Right-clicking on the dotted area or on a module opens a dialogue as shown in Fig. 2. This dialogue supports:
- adding modules (if clicked on a free space)
- removing modules or changing the options of a module when clicking on a module
- adding/removing connections between modules
- checking and running modules
In Fig. 2, the right-click is made on Module 4, e.g. for setting the options of this module.
Running an Optimization
Right-clicking Module 1 and selecting the option
Run starts an optimization. The standard output of the optimization is given in the lower part of the main window in Fig. 3.
Postprocessing an Optimization
Right-clicking Module 4 and selecting the option
Run starts an the data viewer. Figure 4 shows the evolution of the objective function f over the number of evaluations. As the objective function is a simple quadratic function (x^2), the minimal function value is zero, which is approximated by 1e-12.
Input file behind screen shots is stored in the SVN repository ToDo: Link.