4 releases

0.2.2 Mar 17, 2022
0.2.1 Mar 16, 2022
0.2.0 Mar 15, 2022
0.1.0 Jan 31, 2022

#2325 in Algorithms

MIT/Apache

66KB
1.5K SLoC

Cut Optimizer 1D

Description

Cut Optimizer 1D is a cut optimizer library for optimizing linear cuts.

Given desired cut pieces and stock pieces, it will attempt to layout the cut pieces in way that gives the least waste. It can't guarantee the most optimizal solution possible, since this would be too inefficient. Instead it uses genetic algorithms and multiple heuristics to solve the problem. This usually results in a satisfactory solution.

License

Duel-license under MIT license (LICENSE-MIT), or Apache License, Version 2.0 (LICENSE-APACHE)


lib.rs:

cut-optimizer-1d is an optimizer library that attempts to figure out an optimal cutting of linear cut lengths from linear stock lengths with the least amount of waste. It uses genetic algorithms and multiple heuristics to solve the problem.

Dependencies

~295–560KB
~11K SLoC