Navigation

  • index
  • next |
  • AMPL API 2.0.3-0 documentation »

Table Of Contents

  • AMPL C# API
    • Contents

Next topic

Introduction

This Page

  • Show Source

Quick search

AMPL C# API¶

Contents¶

  • Introduction
    • What is AMPL API?
    • Who can use AMPL API
    • System requirements
    • About this manual
  • Getting started
    • Installation
    • Running the examples
    • Development
    • Deployment
  • Class structure
    • AMPL class
    • Modelling entities classes
    • Relation between entities and data
    • Note on variables suffixes
  • C# quick start
    • Complete listing
    • Namespaces and AMPL environment creation
    • Load a model from file
    • Solve a problem
    • Get an AMPL entity in the programming environment (get objective value)
    • Modify model data (assign values to parameters)
    • Get numeric values from variables
    • Get arbitrary values via ampl expressions
    • Close the AMPL object to free the resources
  • C# API examples
    • Example 1: First steps
    • Example 2: Get and set AMPL options
    • Example 3: Use AMPL asynchronously
    • Example 4: Get and set data through DataFrames
    • Example 5: Operate with multidimensional data
    • Example 6: Assign all data to a model and solve it
    • Example 7: Build an efficient frontier
    • Example 8: Simple heuristic
    • Example 9: Simple heuristic
    • Example 10: Redirecting output and error messages
  • C# API reference
    • AMPL classes
    • Entities classes
    • Instance classes
  • Sphinx AutoAPI Index
    • ampl.Entities Namespace
    • ampl Namespace

Navigation

  • index
  • next |
  • AMPL API 2.0.3-0 documentation »
© Copyright 2013-2017, AMPL Inc. Created using Sphinx 1.7.9.