ConstraintInstance Class

Represents a constraint instance and allows access to all the AMPL suffixes of the related instance. For documentation on the properties see ampl.Entities.Constraint.

Namespace
ampl
Assemblies
  • AMPL

Syntax

public class ConstraintInstance : Instance, IDisposable
class ampl.ConstraintInstance

Properties

Astatus()
Return type:System.String
public string Astatus { get; }
Body()
Return type:System.Double
public double Body { get; }
Defvar()
Return type:System.Int32
public int Defvar { get; }
Dinit()
Return type:System.Double
public double Dinit { get; }
Dinit0()
Return type:System.Double
public double Dinit0 { get; }
Dual()
Return type:System.Double
public double Dual { get; set; }
Lb()
Return type:System.Double
public double Lb { get; }
Lbs()
Return type:System.Double
public double Lbs { get; }
Ldual()
Return type:System.Double
public double Ldual { get; }
Lslack()
Return type:System.Double
public double Lslack { get; }
Slack()
Return type:System.Double
public double Slack { get; }
Sstatus()
Return type:System.String
public string Sstatus { get; }
Status()
Return type:System.String
public string Status { get; }
Ub()
Return type:System.Double
public double Ub { get; }
Ubs()
Return type:System.Double
public double Ubs { get; }
Udual()
Return type:System.Double
public double Udual { get; }
Uslack()
Return type:System.Double
public double Uslack { get; }
Val()
Return type:System.Double
public double Val { get; }

Methods

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