IAMPL Interface¶
- Namespace
- Assemblies
AMPL
Syntax¶
public interface IAMPL
- interface ampl.com.IAMPL
Methods¶
- Cd(System.String)¶
- Return type
System.String
string Cd(string directoryName = null)
- Close()¶
void Close()
- Display(System.String[])¶
void Display(params string[] args)
- Dispose()¶
void Dispose()
- EnableErrorAndWarningRouting()¶
void EnableErrorAndWarningRouting()
- Eval(System.String)¶
void Eval(string AMPLStatements)
- EvalAsync(System.String, System.Action)¶
void EvalAsync(string AMPLStatements, Action cb)
- Expand(ampl.Entities.Entity[])¶
void Expand(params Entity[] entities)
- GetBoolOption(System.String)¶
- Return type
System.Boolean
bool GetBoolOption(string name)
- GetConstraint(System.String)¶
- Return type
Constraint GetConstraint(string name)
- GetConstraints()¶
- Return type
ConstraintMap GetConstraints()
- GetData(System.String[])¶
- Return type
DataFrame GetData(params string[] statements)
- GetDblOption(System.String)¶
- Return type
System.Double
double GetDblOption(string name)
- GetEntity(System.String)¶
- Return type
Entity GetEntity(string name)
- GetIntOption(System.String)¶
- Return type
System.Int32
int GetIntOption(string name)
- GetObjective(System.String)¶
- Return type
Objective GetObjective(string name)
- GetObjectives()¶
- Return type
ObjectiveMap GetObjectives()
- GetOption(System.String)¶
- Return type
System.String
string GetOption(string name)
- GetOutput(System.String)¶
- Return type
System.String
string GetOutput(string AMPLStatements)
- GetParameter(System.String)¶
- Return type
Parameter GetParameter(string name)
- GetParameters()¶
- Return type
ParameterMap GetParameters()
- GetSet(System.String)¶
- Return type
Set GetSet(string name)
- GetSets()¶
- Return type
SetMap GetSets()
- GetValue(System.String)¶
- Return type
Variant GetValue(string scalarExpression)
- GetVariable(System.String)¶
- Return type
Variable GetVariable(string name)
- GetVariables()¶
- Return type
VariableMap GetVariables()
- Interrupt()¶
void Interrupt()
- Read(System.String)¶
void Read(string filename)
- ReadAsync(System.String, System.Action)¶
void ReadAsync(string filename, Action cb)
- ReadData(System.String)¶
void ReadData(string filename)
- ReadDataAsync(System.String, System.Action)¶
void ReadDataAsync(string filename, Action cb)
- ReadTable(System.String)¶
void ReadTable(string tableName)
- Reset()¶
void Reset()
- SetData(ampl.DataFrame, System.String)¶
void SetData(DataFrame df, string setName = null)
- SetErrorHandler(ampl.com.IErrorHandler)¶
void SetErrorHandler(IErrorHandler e)
- SetOption(System.String, System.Boolean)¶
void SetOption(string name, bool value)
- SetOption(System.String, System.Double)
void SetOption(string name, double value)
- SetOption(System.String, System.Int32)
void SetOption(string name, int value)
- SetOption(System.String, System.String)
void SetOption(string name, string value)
- SetOutputHandler(ampl.com.IOutputHandler)¶
void SetOutputHandler(IOutputHandler o)
- Show(ampl.Entities.Entity[])¶
void Show(params Entity[] entities)
- Solve()¶
void Solve()
- SolveAsync(System.Action)¶
void SolveAsync(Action cb)
- ToString()¶
- Return type
System.String
string ToString()