Anonymous - 2015-09-14

Hi,

The steps I use to add a new problem are:

  1. Define the problem
  2. Modify the getProblem method in src/org/moeaframework/problem/StandardProblems.java to create an instance of your problem. This lets you reference your problem by name.
  3. Modify the getReferenceSet method in src/org/moeaframework/problem/StandardProblems.java to load and return a reference set for your problem. This is required to compute the performance metrics (e.g., hypervolume). If you do not have a reference set, you can skip this step but you will need to turn off the calculation of performance metrics in the Diagnostic Tool.

At this point, you can run the Diagnostic Tool and manually type the problem name into the field.

You can also have your problem appear in the drop-down list rather than having to manually type the problem name each time:

  1. Open src/org/moeaframework/core/Settings.java and find the method getDiagnosticToolProblems(). Add your problem to this list.