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