IParameter Interface¶
- Namespace
ampl.Entities
- Assemblies
- AMPL
Methods¶
-
AsArray
()¶ Return type: ampl.VariantRef<ampl.VariantRef>[] VariantRef[] AsArray()
-
Get
(System.Object[])¶ Return type: ampl.VariantRef VariantRef Get(params object[] index)
-
Get
(ampl.Tuple) Return type: ampl.VariantRef VariantRef Get(Tuple t = null)
-
GetEnumerator
()¶ Return type: System.Collections.Generic.IEnumerator<System.Collections.Generic.IEnumerator`1>{ampl.VariantRef<ampl.VariantRef>} IEnumerator<VariantRef> GetEnumerator()
-
GetValues
()¶ Return type: ampl.DataFrame DataFrame GetValues()
-
GetValues
(System.String[]) Return type: ampl.DataFrame DataFrame GetValues(params string[] suffixes)
-
Set
(System.Object)¶ void Set(object value)
-
Set
(ampl.Tuple, System.Double) void Set(Tuple index, double value)
-
Set
(ampl.Tuple, System.String) void Set(Tuple index, string value)
-
SetValues
(System.Double[])¶ void SetValues(double[] values)
-
SetValues
(System.Double[], System.Double[], System.Double[], System.Boolean) void SetValues(double[] row_indices, double[] col_indices, double[] data, bool transpose)
-
SetValues
(System.String[]) void SetValues(string[] values)
-
SetValues
(System.String[], System.String[], System.Double[], System.Boolean) void SetValues(string[] row_indices, string[] col_indices, double[] data, bool transpose)
-
SetValues
(ampl.DataFrame) void SetValues(DataFrame data)
-
SetValues
(ampl.Tuple[], System.Double[]) void SetValues(Tuple[] indices, double[] values)
-
SetValues
(ampl.Tuple[], System.String[]) void SetValues(Tuple[] indices, string[] values)
-
ToString
()¶ Return type: System.String string ToString()
-
Properties¶
-
HasDefault
()¶ Return type: System.Boolean bool HasDefault { get; }
-
Indexarity
()¶ Return type: System.Int32 int Indexarity { get; }
-
IndexingSets
()¶ Return type: System.String<System.String>[] string[] IndexingSets { get; }
-
IsScalar
()¶ Return type: System.Boolean bool IsScalar { get; }
-
IsSymbolic
()¶ Return type: System.Boolean bool IsSymbolic { get; }
-
ampl.Entities.IParameter.Item[System.Object[]]
Return type: ampl.Variant Variant this[params object[] index] { get; set; }
-
Name
()¶ Return type: System.String string Name { get; }
-
NumInstances
()¶ Return type: System.Int32 int NumInstances { get; }
-