1D_cutting_optimizer_api