Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
<-- Under Construction --> | ||||||||
Line: 17 to 17 | ||||||||
option display_precision 4; to get your solution values to the same number of significant digits. | ||||||||
Changed: | ||||||||
< < | src="four_dp.jpg" | |||||||
> > |
![]() | |||||||
Note that AMPL still keeps its numbers at full precision, so you need to be careful with your objective function values. | ||||||||
Changed: | ||||||||
< < | src="five_dp.jpg" | |||||||
> > |
![]() | |||||||
When we change the display_precision to 5 significant digits, the displayed TotalCost and the cost calculated by using the displayed Amount values differ. If you are using rounded solution values, make sure to check the objective value before quoting your solution. | ||||||||
Line: 82 to 84 | ||||||||
close brewery.out; \end{verbatim} | ||||||||
Changed: | ||||||||
< < | Running {\tt brewery.run} in AMPL creates a file {\tt brewery.out}.
brewery.out\begin{verbatim} TRANSPORTATION SOLUTION -- Non-zero shipments TotalCost = 8600 Ship 300 crates of beer from warehouse A to pub 1 Ship 700 crates of beer from warehouse A to pub 5 Ship 200 crates of beer from warehouse B to pub 1 Ship 900 crates of beer from warehouse B to pub 2 Ship 1800 crates of beer from warehouse B to pub 3 Ship 200 crates of beer from warehouse B to pub 4 \end{verbatim} | |||||||
> > | Running {\tt brewery.run} in AMPL creates a file brewery.out. | |||||||
-- MichaelOSullivan - 02 Mar 2008 | ||||||||
Deleted: | ||||||||
< < |
| |||||||
| ||||||||
Added: | ||||||||
> > |
|