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

Syntax

public class ObjectiveInstance : Instance, IDisposable
class ampl.ObjectiveInstance

Properties

Astatus()
Return type:System.String
public string Astatus { get; }
ExitCode()
Return type:System.Int32
public int ExitCode { get; }
IsMinimization()
Return type:System.Boolean
public bool IsMinimization { get; }
Message()
Return type:System.String
public string Message { get; }
Result()
Return type:System.String
public string Result { get; }
Sstatus()
Return type:System.String
public string Sstatus { get; }
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()