PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: bachelor of science

Specifying Data - AMPL

9_____Specifying DataAs we emphasize throughout this book, there is a distinction between anAMPL modelfor an optimization problem, and the data values that define a particular instance of theproblem. Chapters 5 through 8 focused on the declarations of sets, parameters, variables,objectives and constraints that are necessary to describe models. In this chapter and thenext, we take a closer look at the statements that specify the ofAMPL data statementsappear in almost every chapter. These statementsoffer several formats for lists and tables of set and parameter values. Some formats aremost naturally created and maintained in a text editing or word processing environment,while others are easy to generate from programs like database systems and (Chapter 12) also produces output in these formats.

(PITT,*) FRA WIN STL FRE ; there is the following statement for the values of cost: param cost := [GARY,*] DET 14 LAN 11 STL 16 LAF 8 [CLEV,*] FRA 27 DET 9 LAN 12 WIN 9 STL 26 LAF 17 [PITT,*] FRA 24 WIN 13 STL 28 FRE 99 ; The templates are given in brackets to distinguish them from the set templates in paren-...

Loading..

Tags:

  Data, Testament, Specifying, Specifying data

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Transcription of Specifying Data - AMPL

Related search queries