<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Dear Natalie,<br>
<br>
Without checking *all* the details of the problem, it looks like you
are trying to generate the set "ZSK" of all feasible integer
solutions that satisfy<br>
<br>
x,y,z \in Z^3 : 5 * x + 4 * y + 3 * z <= 11 and 5 * x + 4 * y + 3
* z >= 11<br>
<br>
<br>
Zimpl can indeed enumerate them. I define <br>
<br>
set C := {0 .. 3};<br>
<br>
as the trivial base set for every single element. With its help,<br>
<br>
I generate the desired set<br>
<br>
set ZSK := {<x,y,z> in C * C * C with 5 * x + 4 * y + 3 * z
<= 11 and 5 * x + 4 * y + 3 * z >= 9};<br>
<br>
do print ZSK;<br>
<br>
It is up to you to really parametrize the important bits of data, if
you want to tackle problems beyond 3 weights and a capacity of 11.
The ZIMPL documentation contains a very good section with examples
that I recommend you to read, if you haven't done so already.<br>
<br>
Happy ZIMPLing,<br>
Gregor<br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 04.02.2016 19:16, Natalie Hauck
wrote:<br>
</div>
<blockquote
cite="mid:trinity-ed6d785d-f46d-4256-b688-63ca54036697-1454609812592@3capp-gmx-bs32"
type="cite">
<div style="font-family: Verdana;font-size: 12.0px;">
<div>Hi,</div>
<div> </div>
<div>
<div style="font-family: Verdana;font-size:
12.0px;line-height: 19.2px;">my name is Natalie and I study
at the Johannes Gutenberg University in Mainz.</div>
<div style="font-family: Verdana;font-size:
12.0px;line-height: 19.2px;">Currently I am writing my
Bachelor Thesis at the chair in logistikmanagement about "
Models for the cutting stock- and bin packing problem".</div>
<div style="font-family: Verdana;font-size:
12.0px;line-height: 19.2px;">Main focus of my Thesis is to
implement selected models using SCIP/ZIMPL.</div>
<div style="font-family: Verdana;font-size:
12.0px;line-height: 19.2px;"> </div>
<div style="font-family: Verdana;font-size:
12.0px;line-height: 19.2px;">I already implemented 2 models
and it works perfectly:).</div>
<div style="font-family: Verdana;font-size:
12.0px;line-height: 19.2px;">But <span style="font-family:
Verdana;font-size: 12.0px;line-height: 19.2px;">I have a
problem to do </span>the last model (Gilmore & Gomory/
see PDF p. 4) <span style="font-family: Verdana;font-size:
12.0px;line-height: 19.2px;">more dynamic.</span></div>
</div>
<div>I put it in ZIMPL and it works like I did it ( very static
:S) (see gilmore.zpl). <span style="font-family:
Verdana;font-size: 12.0px;line-height: 19.2px;">I determined
t</span>he combinations of the feasible Cutting Pattern
first ( line 25-32) (see PDF Cutting Pattern) and pretended we
know how many efficient cutting pattern we´ve got (line 6).</div>
<div>But actually I want ZIMPL to generate the combinations
(line 25-32) and after that to count how many Cutting Pattern
we are looking at ( line 6). </div>
<div>Is this eaven possible to do in ZIMPL and if yes HOW :D? I
really tried my best, but unfortunately I couldn´t implement
it. So I really hope you can help me implement it.</div>
<div> </div>
<div>I really appreciate your help.</div>
<div>Thanks in advance.</div>
<div> </div>
<div>Best,</div>
<div>Natalie</div>
<div> </div>
<div> </div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Scip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Scip@zib.de">Scip@zib.de</a>
<a class="moz-txt-link-freetext" href="http://listserv.zib.de/mailman/listinfo/scip">http://listserv.zib.de/mailman/listinfo/scip</a>
</pre>
</blockquote>
<br>
</body>
</html>