Mathematical models of optimization problems at shakedown