ObjectiveInstance Class

Represents an objective instance and allows access to all the AMPL suffixes of the related instance. For documentation on the properties see ampl.Entities.Objective.

Namespace

ampl

Assemblies
  • AMPL


Inheritance Hierarchy

Syntax

public class ObjectiveInstance : Instance, IDisposable
class ampl.ObjectiveInstance

Properties

ampl.ObjectiveInstance.Astatus
Return type

System.String

public string Astatus { get; }
ampl.ObjectiveInstance.ExitCode
Return type

System.Int32

public int ExitCode { get; }
ampl.ObjectiveInstance.IsMinimization
Return type

System.Boolean

public bool IsMinimization { get; }
ampl.ObjectiveInstance.Message
Return type

System.String

public string Message { get; }
ampl.ObjectiveInstance.Result
Return type

System.String

public string Result { get; }
ampl.ObjectiveInstance.Sstatus
Return type

System.String

public string Sstatus { get; }
ampl.ObjectiveInstance.Value
Return type

System.Double

public double Value { get; }

Methods

Dispose()
public override void Dispose()
Drop()
public void Drop()
Finalize()
protected void Finalize()
Restore()
public void Restore()