ModelBuilderDefinition Structure

Mathematical model builder containing key and definition information.

Definition

Namespace: Orx.MathProg
Assembly: Orx.MathProg (in Orx.MathProg.dll) Version: 1.0.0
C#
public readonly struct ModelBuilderDefinition : IEquatable<ModelBuilderDefinition>
Inheritance
Object    ValueType    ModelBuilderDefinition
Implements
IEquatableModelBuilderDefinition

Constructors

ModelBuilderDefinition Mathematical model builder containing key and definition information.

Properties

DefinitionDefinition of the model.
KeyKey of the model.

Methods

GetType
(Inherited from Object)
HasConstraints Finalizes the builder and returns the resulting model.

Resulting mathematical model has the given constraints and no objective function (minimize 0).

WithObjective Adds objective function of the model to the builder.

See Also