IVariable Interface =================== Namespace :dn:ns:`ampl.Entities` Assemblies * AMPL ---- .. contents:: :local: Syntax ------ .. code-block:: csharp public interface IVariable .. dn:interface:: ampl.Entities.IVariable :hidden: .. dn:interface:: ampl.Entities.IVariable Methods ------- .. dn:interface:: ampl.Entities.IVariable :noindex: :hidden: .. dn:method:: ampl.Entities.IVariable.AsArray() :rtype: VariableInstance[] .. code-block:: csharp VariableInstance[] AsArray() .. dn:method:: ampl.Entities.IVariable.Fix() .. code-block:: csharp void Fix() .. dn:method:: ampl.Entities.IVariable.Fix(System.Double) :type value: System.Double .. code-block:: csharp void Fix(double value) .. dn:method:: ampl.Entities.IVariable.Get(System.Object[]) :type index: System.Object[] :rtype: VariableInstance .. code-block:: csharp VariableInstance Get(params object[] index) .. dn:method:: ampl.Entities.IVariable.Get(ampl.Tuple) :type t: ampl.Tuple :rtype: VariableInstance .. code-block:: csharp VariableInstance Get(Tuple t = null) .. dn:method:: ampl.Entities.IVariable.GetEnumerator() :rtype: System.Collections.Generic.IEnumerator{VariableInstance} .. code-block:: csharp IEnumerator GetEnumerator() .. dn:method:: ampl.Entities.IVariable.GetValues() :rtype: ampl.DataFrame .. code-block:: csharp DataFrame GetValues() .. dn:method:: ampl.Entities.IVariable.GetValues(System.String[]) :type suffixes: System.String[] :rtype: ampl.DataFrame .. code-block:: csharp DataFrame GetValues(params string[] suffixes) .. dn:method:: ampl.Entities.IVariable.SetValues(ampl.DataFrame) :type data: ampl.DataFrame .. code-block:: csharp void SetValues(DataFrame data) .. dn:method:: ampl.Entities.IVariable.ToString() :rtype: System.String .. code-block:: csharp string ToString() .. dn:method:: ampl.Entities.IVariable.Unfix() .. code-block:: csharp void Unfix() Properties ---------- .. dn:interface:: ampl.Entities.IVariable :noindex: :hidden: .. dn:property:: ampl.Entities.IVariable.Astatus :rtype: System.String .. code-block:: csharp string Astatus { get; } .. dn:property:: ampl.Entities.IVariable.Defeqn :rtype: System.Int32 .. code-block:: csharp int Defeqn { get; } .. dn:property:: ampl.Entities.IVariable.Dual :rtype: System.Double .. code-block:: csharp double Dual { get; } .. dn:property:: ampl.Entities.IVariable.Indexarity :rtype: System.Int32 .. code-block:: csharp int Indexarity { get; } .. dn:property:: ampl.Entities.IVariable.IndexingSets :rtype: System.String[] .. code-block:: csharp string[] IndexingSets { get; } .. dn:property:: ampl.Entities.IVariable.Init :rtype: System.Double .. code-block:: csharp double Init { get; } .. dn:property:: ampl.Entities.IVariable.Init0 :rtype: System.Double .. code-block:: csharp double Init0 { get; } .. dn:property:: ampl.Entities.IVariable.IsScalar :rtype: System.Boolean .. code-block:: csharp bool IsScalar { get; } .. dn:property:: ampl.Entities.IVariable.Item[ampl.Tuple] :type t: ampl.Tuple :rtype: VariableInstance .. code-block:: csharp VariableInstance this[Tuple t] { get; } .. dn:property:: ampl.Entities.IVariable.Lb :rtype: System.Double .. code-block:: csharp double Lb { get; } .. dn:property:: ampl.Entities.IVariable.Lb0 :rtype: System.Double .. code-block:: csharp double Lb0 { get; } .. dn:property:: ampl.Entities.IVariable.Lb1 :rtype: System.Double .. code-block:: csharp double Lb1 { get; } .. dn:property:: ampl.Entities.IVariable.Lb2 :rtype: System.Double .. code-block:: csharp double Lb2 { get; } .. dn:property:: ampl.Entities.IVariable.Lrc :rtype: System.Double .. code-block:: csharp double Lrc { get; } .. dn:property:: ampl.Entities.IVariable.Lslack :rtype: System.Double .. code-block:: csharp double Lslack { get; } .. dn:property:: ampl.Entities.IVariable.Name :rtype: System.String .. code-block:: csharp string Name { get; } .. dn:property:: ampl.Entities.IVariable.NumInstances :rtype: System.Int32 .. code-block:: csharp int NumInstances { get; } .. dn:property:: ampl.Entities.IVariable.Rc :rtype: System.Double .. code-block:: csharp double Rc { get; } .. dn:property:: ampl.Entities.IVariable.Slack :rtype: System.Double .. code-block:: csharp double Slack { get; } .. dn:property:: ampl.Entities.IVariable.Sstatus :rtype: System.String .. code-block:: csharp string Sstatus { get; } .. dn:property:: ampl.Entities.IVariable.Status :rtype: System.String .. code-block:: csharp string Status { get; } .. dn:property:: ampl.Entities.IVariable.Ub :rtype: System.Double .. code-block:: csharp double Ub { get; } .. dn:property:: ampl.Entities.IVariable.Ub0 :rtype: System.Double .. code-block:: csharp double Ub0 { get; } .. dn:property:: ampl.Entities.IVariable.Ub1 :rtype: System.Double .. code-block:: csharp double Ub1 { get; } .. dn:property:: ampl.Entities.IVariable.Ub2 :rtype: System.Double .. code-block:: csharp double Ub2 { get; } .. dn:property:: ampl.Entities.IVariable.Urc :rtype: System.Double .. code-block:: csharp double Urc { get; } .. dn:property:: ampl.Entities.IVariable.Uslack :rtype: System.Double .. code-block:: csharp double Uslack { get; } .. dn:property:: ampl.Entities.IVariable.Value :rtype: System.Double .. code-block:: csharp double Value { get; set; }