accurate comment and result tif/tcc verbage

This commit is contained in:
Josh Burman
2021-12-18 07:49:07 +00:00
parent b3bf662c2f
commit d731b901ff
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ class LoftService(Base):
# dynamic constraints
problem = solver_helper.build_constraints(self.solver_run, problem, items)
# multi-objective functions and constraints
# multi-objective constraints
for target in self.solver_run.objective_function.tif_targets:
problem += lpSum([item.iif(self.solver_run, target.theta)*items[item.id]
for item in self.solver_run.items]) <= target.value, f'min tif theta ({target.theta}) target value {target.value}'