Closed GoogleCodeExporter closed 9 years ago
I think you should be able to attach a file (patch or complete modified file)
right
here in this issue tracker. Notice the link "Attach a file" at the bottom of
the text
box, when start typing in the comments. Please use it to upload the modified
source
code files.
You are welcome to join the project as member. Let me have a look at the code
for
your proposed feature, if it looks fine, then I can make you a project member,
so
that you can commit it yourself, if you want.
Original comment by vijay.pa...@gmail.com
on 15 Aug 2008 at 1:55
Here is the patch, generated with "diff -C 2". It is based on 0.4 version. XML
output
comes with "--xml" command-line option. Along with that, "--silent" suppresses
all
other output, so that XML should be ready for transferring to upper level
systems.
Patches also include new property, "tag", for order_width class. Tag-field
could be
used to uniquely identify the part being optimized, with unique ID if
necessary. It's
not ready yet though, since I didn't yet know how I should get tag-field through
optimization process. Tag-field needs 3rd field for input-file, for now it can
be 0;
cspsol-0.4/data$ cat o2.txt
6000
2000 4 0
1000 4 0
cspsol-0.4/data$ ./cspsol --wa --xml --silent --data o2.txt
<solution>
<quality>2</quality>
<pattern>
<cut>2000</cut>
<cut>2000</cut>
<cut>1000</cut>
<cut>1000</cut>
</pattern>
<pattern>
<cut>2000</cut>
<cut>2000</cut>
<cut>1000</cut>
<cut>1000</cut>
</pattern>
</solution>
Original comment by henry.pa...@gmail.com
on 19 Aug 2008 at 10:27
Attachments:
Changes commited to subversion r14, closing issue.
Original comment by henry.pa...@gmail.com
on 21 Aug 2008 at 10:45
Original issue reported on code.google.com by
henry.pa...@gmail.com
on 15 Aug 2008 at 12:16