Hello Ramón, see appended file.
Your objective function was equal to demand which is fixed. I chose to use minimization of the cutting waste left over as the objective. Please, observe that large cutting stock problems cannot be solved by a brute force formulation. The usual solution algorithm involves column generation. Hava a look at http://code.google.com/p/cspsol/ A book I like is: Jacques Desrosiers: Column generation A preview is available at books.google.com. By convention class names in Java always start with a capital letter. Best regards Xypron -- Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief! Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
Mip2.java
Description: Binary data
_______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
