Interface IOptQuestEvaluator


public interface IOptQuestEvaluator
Defines a callback function that will evaluate an OptQuestSolution during managed optimization.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    The Evaluate() method provides a custom evaluation to compute output variable values.
  • Method Details

    • Evaluate

      boolean Evaluate(OptQuestSolution sol)
      The Evaluate() method provides a custom evaluation to compute output variable values. The OptQuest engine has set the values of input variables. The Evaluate() method should use the input values to compute output values. The evaluation may involve running a simulation.
      Parameters:
      sol - - OptQuestSolution to be evaluated.
      Returns:
      - If Evaluate() returns true, the solution was successfully evaluated. If Evaluate() returns false, the evaluation was not successful and output values are not valid. The rejected solution is returned to the engine and is not used to guide future solution generation.