AMPL-COM
AMPL-COM is an object-oriented Component Library, specifically designed to embed optimization models into end-user applications. The design of AMPL-COM is based on ActiveX/Automation component software technologies from Microsoft. AMPL-COM can be used to seamlessly integrate AMPL models into various different programming platforms, such as VBA for Excel/Access, Visual Basic, Visual C++, Delphi, Java, and standard scripting languages for the Web.

AMPL-COM provides the bridge between the optimisation model and the end-user application. The AMPL-COM library is built as a hierarchy of objects that details all the knowledge that AMPL contains about the model and is made available to the application developer through the object hierarchy. This enables the software developer to concentrate on building the end-user application without having to be concerned with the details of the optimisation model.
Key Features
AMPL-COM is an object library that contains very extensive set of collections, objects, methods and properties, covering all aspects of implementing optimization models in end-user applications. This includes reading and maintaining models, writing solution files, importing and exporting data, solving models, and option handling.
General Model Handling
- Reading model files
- Parse model in parts
- Querying model information
- Modifying models
- Keep multiple models in memory
- Detailed error handling
Input/Output Capabilites
- Reading input data files (dense/sparse)
- Writing solution output files
- Native solver input/output files
- Spreadsheet import and export
- Database import and export
Model Solving
- Multiple solvers supported (LP, MIP, QP, and NLP)
- Repeated solver runs/Iterations
- Use solutions values as input
- Option handling
Access to AMPL Internal Data Structures
- Indexes (numeric, named)
- Vectors (data, variables, constraints)
- Macros
- Matrix data
- Names data
Platforms
Supporting platforms
- All Windows versions
Since we are constantly working on new releases of AMPL COM, please contact OptiRisk Systems for updated information.