cleanup
This commit is contained in:
@ -90,7 +90,7 @@ class Problem(BaseModel):
|
||||
except ValueError as error:
|
||||
logging.error(error)
|
||||
raise ItemGenerationError(
|
||||
"Bundle min and/or max larger than bundle amount provided",
|
||||
error.msg,
|
||||
error.args[0])
|
||||
|
||||
|
||||
|
@ -28,4 +28,4 @@ class TccTarget(Target):
|
||||
problem_handler.solver_items_var[item.id]
|
||||
for item in problem_handler.items
|
||||
]) <= self.maximum(
|
||||
), f'Max TCC theta({self.theta}) at target {self.value} with a drift % of {self.drift}'
|
||||
), f'Max TCC theta({self.theta}) at target {self.value} with a drift % of {self.drift}'
|
||||
|
@ -28,4 +28,4 @@ class TifTarget(Target):
|
||||
problem_handler.solver_items_var[item.id]
|
||||
for item in problem_handler.items
|
||||
]) <= self.maximum(
|
||||
), f'Max TIF theta({self.theta}) at target {self.value} with a drift % of {self.drift}'
|
||||
), f'Max TIF theta({self.theta}) at target {self.value} with a drift % of {self.drift}'
|
||||
|
Reference in New Issue
Block a user