Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 100potions.dzn #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions CP/optimization/100potions.dzn
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
n = 100; %Water Number
w = 8; %Window Size
p = 140; %Leaves required in each Window
capacity= 380; %Total Energy we have for using holy Water
m= 4; %Mode numbers
% Input for "The Strongest YaoCao", 100 potions

n = 100; % Number of potions
w = 8; % Window size
p = 140; % Min number of leaves-on-branches required in a window (actual value must be >= p)
capacity = 380; % Max capacity of nutrients available for any path from root node to outermost node
m = 4; % Max number of segments grown at each node (max branching factor)

nutrient =
[|6,5,381,381
Expand Down Expand Up @@ -208,4 +210,4 @@ leave =
|93,35,0,0
|6,3,51,0
|19,0,0,0
|];
|];