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