Interface: IMethod

IMethod is the interface to be implemented by the external method. It is the main interface of the API, used to define the problem, run the algorithm, and retrieve the results.

Derived types

Methods

Name Description
AddDoubleListVariable(String, IListCpp, Double) Adds an input double-precision variable with its sorted list of possible double-precision values.
AddDoubleVariable(String, Double, Double, Double) Adds an input continuous double-precision variable with its range of variation.
AddIntegerListVariable(String, IListCpp, Int32) Adds an input integer variable with its list of possible integer values.
AddOutput(String) Adds an output double-precision variable.
AddParameterRelationship(String, String, String, enumParameterRelationshipType) Adds a Parameter Relationship.
CanRun(String&)
get_Setting(String) Returns the value of an algorithm setting identified by its name.
put_Setting(String, Object) Sets the value of an algorithm setting identified by its name.
Run() Runs the method.