IAMPL Interface

Namespace

ampl.com

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

ampl.Entities.Constraint

Constraint GetConstraint(string name)
GetConstraints()
Return type

ampl.Entities.ConstraintMap

ConstraintMap GetConstraints()
GetData(System.String[])
Return type

ampl.DataFrame

DataFrame GetData(params string[] statements)
GetDblOption(System.String)
Return type

System.Double

double GetDblOption(string name)
GetEntity(System.String)
Return type

ampl.Entities.Entity

Entity GetEntity(string name)
GetIntOption(System.String)
Return type

System.Int32

int GetIntOption(string name)
GetObjective(System.String)
Return type

ampl.Entities.Objective

Objective GetObjective(string name)
GetObjectives()
Return type

ampl.Entities.ObjectiveMap

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

ampl.Entities.Parameter

Parameter GetParameter(string name)
GetParameters()
Return type

ampl.Entities.ParameterMap

ParameterMap GetParameters()
GetSet(System.String)
Return type

ampl.Entities.Set

Set GetSet(string name)
GetSets()
Return type

ampl.Entities.SetMap

SetMap GetSets()
GetValue(System.String)
Return type

ampl.Variant

Variant GetValue(string scalarExpression)
GetVariable(System.String)
Return type

ampl.Entities.Variable

Variable GetVariable(string name)
GetVariables()
Return type

ampl.Entities.VariableMap

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()