Skip to main content
Namespace: Phoenix.Optimization

Overview

Class to hold the results of a model evaluation.

Inheritance

ModelEvaluation

Declaration

Description

Class to hold the results of a model evaluation.

Public Member Functions

Properties

Constructor & Destructor Documentation

ModelEvaluation()

Constructor Constructs a failed model evaluation. This constructor primarily exists to allow ModelEvaluation to be serialized.

ModelEvaluation()

Constructor Assumes that there are no constraints. If objectiveValues is not null then the Run is assumed to not be failed, otherwise the Run is assumed to be failed. Parameters:
  • objectiveValues - double array of objective values

ModelEvaluation()

Constructor Assumes that there are no constraints. If objectiveValues is not null, then the runFailure value is used, otherwise the Run is assumed to be failed. Parameters:
  • objectiveValues - double array of objective values
  • runFailure - boolean Run failure value

ModelEvaluation()

Constructor If objectiveValues is not null, then the runFailure value is used, otherwise the Run is assumed to be failed. Parameters:
  • objectiveValues - double array of objective values
  • constraintValues - double array of constraint values
  • runFailure - boolean Run failure value

ModelEvaluation()

Copy constructor Parameters:
  • eval - ModelEvaluation to be copied

Member Function Documentation

ConstraintValues

Double array containing the values of the constraints.

ObjectiveValues

Double array containing the values of the objectives

RunFailure

Boolean contain stating whether the model evaluation was successful. The value will be true if there was an error evaluating the model, and false otherwise.

Property Documentation

ConstraintValues

Double array containing the values of the constraints.

ObjectiveValues

Double array containing the values of the objectives

RunFailure

Boolean contain stating whether the model evaluation was successful. The value will be true if there was an error evaluating the model, and false otherwise.