• AMPL
  • Developed by Bell Laboratories of Lucent Technologies, AMPL is an award-winning mathematical programming language system. With AMPL, users can expedite prototyping and model deployment, and facilitate system management and maintenance.AMPL is particularly suited for OR professionals who analyze various decision problems and design decision support systems. Model development is accomplished extremely quickly with--it is a matter of hours, rather than the weeks or months required using traditional methods.
  • Windows;Unix
  • 美国
  • 英文
  • 电话:021-64391516,传真:021-64391506
AMPL

Developed by Bell Laboratories of Lucent Technologies, AMPL is an award-winning mathematical programming language system. With AMPL, users can expedite prototyping and model deployment, and facilitate system management and maintenance.
AMPL is particularly suited for OR professionals who analyze various decision problems and design decision support systems. Model development is accomplished extremely quickly with--it is a matter of hours, rather than the weeks or months required using traditional methods.

Features Include:
  • Portability among popular UNIX workstations
  • Easy-to-use user interface
  • Variety of problem types (e.g., linear, integer, network, etc.)
  • Flexible mathematical functions
  • Direct interface to SOPT without creating MPS files.

Example Transportation Problem

Corresponding AMPL Code


###
### AMPL Model:  Transportation Problem
###

### Set Definition

set supply_location;
set demand_location;

### Parameter Definition

param ship_cost {supply_location, demand_location};
param supply_amt (supply_location};
param demand_amt {demand_location};

### Variable Definition

var X {supply_location, demand_location} >= 0.0;

### Objective Function

minimize costs:  sum {s in supply_location, d in demand_location}
                        ship_cost[s,d] * X[x,d];

### Constraints

supply_limit {s in supply_location}:
  sum {d in deman_location} X[s,d] <= supply_amt[s];

demand_limit {d in demand_location}:
  sum {s in supply_location} X[s,d] >= demand_amt[d];

### Data Section

data;

set supply_location := Atlanta Chicago;
set demand_location := New_York Houston Denver LA;

param supply_amt :=
     Atlanta                500.0
     Chicago                750.0;

param demand_amt :=
     New_York               400.0
     Houston                150.0
     Denver                 250.0
     LA                     450.0;

param ship_cost : New_York  Houston  Denver  LA :=
       Atlanta        15.0     12.0    18.0  25.0
       Chicago        18.0     17.0    11.0  16.0;

### End Statement
    
end;

产品 下载

软件分类

数学建模软件 经济建模软件 风险管理软件 数据分析软件 科学绘图软件 生物分析软件 热流分析软件 材料科学软件 岩土工程软件 CAD系列软件 其他科研软件 科研相关书籍
Google
搜索 WWW 搜索 CnSciTech.com
baidu
搜索 WWW 搜索 CnSciTech.com
CnSciTech CnSciTech