IConstraint Interface ===================== Namespace :dn:ns:`ampl.Entities` Assemblies * AMPL ---- .. contents:: :local: Syntax ------ .. code-block:: csharp public interface IConstraint .. dn:interface:: ampl.Entities.IConstraint :hidden: .. dn:interface:: ampl.Entities.IConstraint Methods ------- .. dn:interface:: ampl.Entities.IConstraint :noindex: :hidden: .. dn:method:: ampl.Entities.IConstraint.AsArray() :rtype: ConstraintInstance[] .. code-block:: csharp ConstraintInstance[] AsArray() .. dn:method:: ampl.Entities.IConstraint.Drop() .. code-block:: csharp void Drop() .. dn:method:: ampl.Entities.IConstraint.Get(System.Object[]) :type index: System.Object[] :rtype: ConstraintInstance .. code-block:: csharp ConstraintInstance Get(params object[] index) .. dn:method:: ampl.Entities.IConstraint.Get(ampl.Tuple) :type t: ampl.Tuple :rtype: ConstraintInstance .. code-block:: csharp ConstraintInstance Get(Tuple t = null) .. dn:method:: ampl.Entities.IConstraint.GetEnumerator() :rtype: System.Collections.Generic.IEnumerator{ConstraintInstance} .. code-block:: csharp IEnumerator GetEnumerator() .. dn:method:: ampl.Entities.IConstraint.GetValues() :rtype: ampl.DataFrame .. code-block:: csharp DataFrame GetValues() .. dn:method:: ampl.Entities.IConstraint.GetValues(System.String[]) :type suffixes: System.String[] :rtype: ampl.DataFrame .. code-block:: csharp DataFrame GetValues(params string[] suffixes) .. dn:method:: ampl.Entities.IConstraint.Restore() .. code-block:: csharp void Restore() .. dn:method:: ampl.Entities.IConstraint.SetValues(ampl.DataFrame) :type data: ampl.DataFrame .. code-block:: csharp void SetValues(DataFrame data) .. dn:method:: ampl.Entities.IConstraint.ToString() :rtype: System.String .. code-block:: csharp string ToString() Properties ---------- .. dn:interface:: ampl.Entities.IConstraint :noindex: :hidden: .. dn:property:: ampl.Entities.IConstraint.Astatus :rtype: System.String .. code-block:: csharp string Astatus { get; } .. dn:property:: ampl.Entities.IConstraint.Body :rtype: System.Double .. code-block:: csharp double Body { get; } .. dn:property:: ampl.Entities.IConstraint.Defvar :rtype: System.Int32 .. code-block:: csharp int Defvar { get; } .. dn:property:: ampl.Entities.IConstraint.Dinit :rtype: System.Double .. code-block:: csharp double Dinit { get; } .. dn:property:: ampl.Entities.IConstraint.Dinit0 :rtype: System.Double .. code-block:: csharp double Dinit0 { get; } .. dn:property:: ampl.Entities.IConstraint.Dual :rtype: System.Double .. code-block:: csharp double Dual { get; set; } .. dn:property:: ampl.Entities.IConstraint.Indexarity :rtype: System.Int32 .. code-block:: csharp int Indexarity { get; } .. dn:property:: ampl.Entities.IConstraint.IndexingSets :rtype: System.String[] .. code-block:: csharp string[] IndexingSets { get; } .. dn:property:: ampl.Entities.IConstraint.IsLogical :rtype: System.Boolean .. code-block:: csharp bool IsLogical { get; } .. dn:property:: ampl.Entities.IConstraint.IsScalar :rtype: System.Boolean .. code-block:: csharp bool IsScalar { get; } .. dn:property:: ampl.Entities.IConstraint.Lb :rtype: System.Double .. code-block:: csharp double Lb { get; } .. dn:property:: ampl.Entities.IConstraint.Lbs :rtype: System.Double .. code-block:: csharp double Lbs { get; } .. dn:property:: ampl.Entities.IConstraint.Ldual :rtype: System.Double .. code-block:: csharp double Ldual { get; } .. dn:property:: ampl.Entities.IConstraint.Lslack :rtype: System.Double .. code-block:: csharp double Lslack { get; } .. dn:property:: ampl.Entities.IConstraint.Name :rtype: System.String .. code-block:: csharp string Name { get; } .. dn:property:: ampl.Entities.IConstraint.NumInstances :rtype: System.Int32 .. code-block:: csharp int NumInstances { get; } .. dn:property:: ampl.Entities.IConstraint.Slack :rtype: System.Double .. code-block:: csharp double Slack { get; } .. dn:property:: ampl.Entities.IConstraint.Sstatus :rtype: System.String .. code-block:: csharp string Sstatus { get; } .. dn:property:: ampl.Entities.IConstraint.Status :rtype: System.String .. code-block:: csharp string Status { get; } .. dn:property:: ampl.Entities.IConstraint.Ub :rtype: System.Double .. code-block:: csharp double Ub { get; } .. dn:property:: ampl.Entities.IConstraint.Ubs :rtype: System.Double .. code-block:: csharp double Ubs { get; } .. dn:property:: ampl.Entities.IConstraint.Udual :rtype: System.Double .. code-block:: csharp double Udual { get; } .. dn:property:: ampl.Entities.IConstraint.Uslack :rtype: System.Double .. code-block:: csharp double Uslack { get; } .. dn:property:: ampl.Entities.IConstraint.Val :rtype: System.Double .. code-block:: csharp double Val { get; }