IObjective Interface ==================== Namespace :dn:ns:`ampl.Entities` Assemblies * AMPL ---- .. contents:: :local: Syntax ------ .. code-block:: csharp public interface IObjective .. dn:interface:: ampl.Entities.IObjective :hidden: .. dn:interface:: ampl.Entities.IObjective Methods ------- .. dn:interface:: ampl.Entities.IObjective :noindex: :hidden: .. dn:method:: ampl.Entities.IObjective.AsArray() :rtype: ObjectiveInstance[] .. code-block:: csharp ObjectiveInstance[] AsArray() .. dn:method:: ampl.Entities.IObjective.Drop() .. code-block:: csharp void Drop() .. dn:method:: ampl.Entities.IObjective.Get(System.Object[]) :type index: System.Object[] :rtype: ObjectiveInstance .. code-block:: csharp ObjectiveInstance Get(params object[] index) .. dn:method:: ampl.Entities.IObjective.Get(ampl.Tuple) :type t: ampl.Tuple :rtype: ObjectiveInstance .. code-block:: csharp ObjectiveInstance Get(Tuple t = null) .. dn:method:: ampl.Entities.IObjective.GetEnumerator() :rtype: System.Collections.Generic.IEnumerator{ObjectiveInstance} .. code-block:: csharp IEnumerator GetEnumerator() .. dn:method:: ampl.Entities.IObjective.GetValues() :rtype: ampl.DataFrame .. code-block:: csharp DataFrame GetValues() .. dn:method:: ampl.Entities.IObjective.GetValues(System.String[]) :type suffixes: System.String[] :rtype: ampl.DataFrame .. code-block:: csharp DataFrame GetValues(params string[] suffixes) .. dn:method:: ampl.Entities.IObjective.Restore() .. code-block:: csharp void Restore() .. dn:method:: ampl.Entities.IObjective.SetValues(ampl.DataFrame) :type data: ampl.DataFrame .. code-block:: csharp void SetValues(DataFrame data) .. dn:method:: ampl.Entities.IObjective.ToString() :rtype: System.String .. code-block:: csharp string ToString() Properties ---------- .. dn:interface:: ampl.Entities.IObjective :noindex: :hidden: .. dn:property:: ampl.Entities.IObjective.Astatus :rtype: System.String .. code-block:: csharp string Astatus { get; } .. dn:property:: ampl.Entities.IObjective.ExitCode :rtype: System.Int32 .. code-block:: csharp int ExitCode { get; } .. dn:property:: ampl.Entities.IObjective.Indexarity :rtype: System.Int32 .. code-block:: csharp int Indexarity { get; } .. dn:property:: ampl.Entities.IObjective.IndexingSets :rtype: System.String[] .. code-block:: csharp string[] IndexingSets { get; } .. dn:property:: ampl.Entities.IObjective.IsMinimization :rtype: System.Boolean .. code-block:: csharp bool IsMinimization { get; } .. dn:property:: ampl.Entities.IObjective.IsScalar :rtype: System.Boolean .. code-block:: csharp bool IsScalar { get; } .. dn:property:: ampl.Entities.IObjective.Message :rtype: System.String .. code-block:: csharp string Message { get; } .. dn:property:: ampl.Entities.IObjective.Name :rtype: System.String .. code-block:: csharp string Name { get; } .. dn:property:: ampl.Entities.IObjective.NumInstances :rtype: System.Int32 .. code-block:: csharp int NumInstances { get; } .. dn:property:: ampl.Entities.IObjective.Result :rtype: System.String .. code-block:: csharp string Result { get; } .. dn:property:: ampl.Entities.IObjective.Sstatus :rtype: System.String .. code-block:: csharp string Sstatus { get; } .. dn:property:: ampl.Entities.IObjective.Value :rtype: System.Double .. code-block:: csharp double Value { get; }