![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: Programmers Contest: Fit pictures on a page
From: Don <donald.welch@NOSPAM.hp.com>
Date: Thu Jun 30 2005 - 01:07:30 CEST
Chung Leong wrote:
> Isn't that an NP-complete problem or am I crazy?
It is NP complete. Its known as the "cutting stock problem" (aka "Knapsack
http://en.wikipedia.org/wiki/Cutting_stock_problem
There are commerical applications available that "solve" the problem in 2D
-Don
|