VariableInstance Class ====================== Represents a variable instance and allows access to all the AMPL suffixes of the related instance. For documentation on the properties see :dn:class:`ampl.Entities.Variable`. Namespace :dn:ns:`ampl` Assemblies * AMPL ---- .. contents:: :local: Inheritance Hierarchy --------------------- * :dn:cls:`System.Object` * :dn:cls:`ampl.Instance` * :dn:cls:`ampl.VariableInstance` Syntax ------ .. code-block:: csharp public class VariableInstance : Instance, IDisposable .. dn:class:: ampl.VariableInstance :hidden: .. dn:class:: ampl.VariableInstance Properties ---------- .. dn:class:: ampl.VariableInstance :noindex: :hidden: .. dn:property:: ampl.VariableInstance.Astatus :rtype: System.String .. code-block:: csharp public string Astatus { get; } .. dn:property:: ampl.VariableInstance.Defeqn :rtype: System.Int32 .. code-block:: csharp public int Defeqn { get; } .. dn:property:: ampl.VariableInstance.Dual :rtype: System.Double .. code-block:: csharp public double Dual { get; } .. dn:property:: ampl.VariableInstance.Init :rtype: System.Double .. code-block:: csharp public double Init { get; } .. dn:property:: ampl.VariableInstance.Init0 :rtype: System.Double .. code-block:: csharp public double Init0 { get; } .. dn:property:: ampl.VariableInstance.Lb :rtype: System.Double .. code-block:: csharp public double Lb { get; } .. dn:property:: ampl.VariableInstance.Lb0 :rtype: System.Double .. code-block:: csharp public double Lb0 { get; } .. dn:property:: ampl.VariableInstance.Lb1 :rtype: System.Double .. code-block:: csharp public double Lb1 { get; } .. dn:property:: ampl.VariableInstance.Lb2 :rtype: System.Double .. code-block:: csharp public double Lb2 { get; } .. dn:property:: ampl.VariableInstance.Lrc :rtype: System.Double .. code-block:: csharp public double Lrc { get; } .. dn:property:: ampl.VariableInstance.Lslack :rtype: System.Double .. code-block:: csharp public double Lslack { get; } .. dn:property:: ampl.VariableInstance.Rc :rtype: System.Double .. code-block:: csharp public double Rc { get; } .. dn:property:: ampl.VariableInstance.Slack :rtype: System.Double .. code-block:: csharp public double Slack { get; } .. dn:property:: ampl.VariableInstance.Sstatus :rtype: System.String .. code-block:: csharp public string Sstatus { get; } .. dn:property:: ampl.VariableInstance.Status :rtype: System.String .. code-block:: csharp public string Status { get; } .. dn:property:: ampl.VariableInstance.Ub :rtype: System.Double .. code-block:: csharp public double Ub { get; } .. dn:property:: ampl.VariableInstance.Ub0 :rtype: System.Double .. code-block:: csharp public double Ub0 { get; } .. dn:property:: ampl.VariableInstance.Ub1 :rtype: System.Double .. code-block:: csharp public double Ub1 { get; } .. dn:property:: ampl.VariableInstance.Ub2 :rtype: System.Double .. code-block:: csharp public double Ub2 { get; } .. dn:property:: ampl.VariableInstance.Urc :rtype: System.Double .. code-block:: csharp public double Urc { get; } .. dn:property:: ampl.VariableInstance.Uslack :rtype: System.Double .. code-block:: csharp public double Uslack { get; } .. dn:property:: ampl.VariableInstance.Value :rtype: System.Double .. code-block:: csharp public double Value { get; set; } Methods ------- .. dn:class:: ampl.VariableInstance :noindex: :hidden: .. dn:method:: ampl.VariableInstance.Dispose() .. code-block:: csharp public override void Dispose() .. dn:method:: ampl.VariableInstance.Finalize() .. code-block:: csharp protected void Finalize() .. dn:method:: ampl.VariableInstance.Fix() .. code-block:: csharp public void Fix() .. dn:method:: ampl.VariableInstance.Fix(System.Double) :type value: System.Double .. code-block:: csharp public void Fix(double value) .. dn:method:: ampl.VariableInstance.Unfix() .. code-block:: csharp public void Unfix()