Tags:
create new tag
view all tags
%INCLUDE{DiscussionTopicHeader}% How do we check whether an element is within the CONVERSIONS set? For example, we have a material 'n' and a material 'm', how do we check whether this combination is within the CONVERSIONS set? -- Main.TWikiGuest - 03 Apr 2008 You use the set logical operator =in=, e.g., =(m, n) in CONVERSIONS=. This should be explained further in [[OpsRes.SetsInAMPL][SetsInAMPL]] or [[OpsRes.LogicInAMPL][LogicInAMPL]]. -- Main.MichaelOSullivan - 04 Apr 2008 *Hint (Experts Only Task)* Starting with the transportation.run file from [[OpsRes.TransportationProblemInAMPL][The Transportation Problem in AMPL]] you need to: 1 Add the supplied model and data files (forestry_expert.mod and forestry.dat) to create the necessary AMPL data structures and fill them with the Forestry Problem data; 2 In place of a data file for transportation.mod, e.g., brewery.dat, add loops, script commands, etc to assign values to the transportation.mod data structures (see the examples from the *Extra for Experts* section); 3 After the automatic balancing, if there is more supply than demand, restrict the arcs taking goods to the dummy demand node to only allow those goods that are allowed to be disposed of, e.g., Waste Paper. If there is more demand than supply then see if there is a source for "buying in" more goods. -- Main.MichaelOSullivan - 08 Apr 2008 %COMMENT%
DiscussionTopicForm
Title
Forestry Problem
Forum
ForumOpsRes
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r3 - 2008-04-08
-
MichaelOSullivan
Home
Site map
Forum web
Main web
NDSG web
ORUA web
OpsRes web
Sandbox web
TWiki web
Forum Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback