Skip to main content

ModelCenter Custom Optimization Algorithm SDK 2026 R1

IFeasibilityProvider Interface

Last update: 19.06.2026

Namespace: Phoenix.Optimization

Overview

Implemented by algorithms with custom IsDesignFeasible implementations.

Inheritance

IFeasibilityProvider

Declaration

interface IFeasibilityProvider

Description

Implemented by algorithms with custom IsDesignFeasible implementations.

Public Member Functions

Type Name Description
FuzzyBoolean IsDesignFeasible (double[] objectiveValues, double[] constraintValues, object[] designVariableValues) Tests whether the given design is feasible.

Member Function Documentation

IsDesignFeasible

FuzzyBoolean IsDesignFeasible ( double[] objectiveValues, double[] constraintValues, object[] designVariableValues )

Tests whether the given design is feasible. Algorithms that wish to mark designs as marginally feasible must implement this interface. Implementation must not depend on anything except current settings and specified design.
Default implementation used by the Optimization Tool is listed here for reference:

Parameters:

  • objectiveValues - The values of the objectives for the design.
  • constraintValues - The values of the constraints for the design.
  • designVariableValues - The values of the design variables for the design.

Returns:

  • True if the design is feasible, Maybe if the design is marginally feasible, and False if the design is infeasible.

Property Documentation

IsDesignFeasible()

FuzzyBoolean IsDesignFeasible ( double[] objectiveValues, double[] constraintValues, object[] designVariableValues )

Tests whether the given design is feasible. Algorithms that wish to mark designs as marginally feasible must implement this interface. Implementation must not depend on anything except current settings and specified design.
Default implementation used by the Optimization Tool is listed here for reference:

Connect with Ansys