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