VariableInstance Class

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

Namespace
ampl
Assemblies
  • AMPL

Syntax

public class VariableInstance : Instance, IDisposable
class ampl.VariableInstance

Properties

Astatus()
Return type:System.String
public string Astatus { get; }
Defeqn()
Return type:System.Int32
public int Defeqn { get; }
Dual()
Return type:System.Double
public double Dual { get; }
Init()
Return type:System.Double
public double Init { get; }
Init0()
Return type:System.Double
public double Init0 { get; }
Lb()
Return type:System.Double
public double Lb { get; }
Lb0()
Return type:System.Double
public double Lb0 { get; }
Lb1()
Return type:System.Double
public double Lb1 { get; }
Lb2()
Return type:System.Double
public double Lb2 { get; }
Lrc()
Return type:System.Double
public double Lrc { get; }
Lslack()
Return type:System.Double
public double Lslack { get; }
Rc()
Return type:System.Double
public double Rc { 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; }
Ub0()
Return type:System.Double
public double Ub0 { get; }
Ub1()
Return type:System.Double
public double Ub1 { get; }
Ub2()
Return type:System.Double
public double Ub2 { get; }
Urc()
Return type:System.Double
public double Urc { get; }
Uslack()
Return type:System.Double
public double Uslack { get; }
Value()
Return type:System.Double
public double Value { get; set; }

Methods

Dispose()
public override void Dispose()
Finalize()
protected void Finalize()
Fix()
public void Fix()
Fix(System.Double)
public void Fix(double value)
Unfix()
public void Unfix()