solve without enemies, initial impl. still requires factoring out
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import json, random, io, logging
|
||||
|
||||
from pulp import LpProblem, LpVariable, LpMinimize, LpStatus, lpSum
|
||||
from pulp import LpProblem, LpMinimize, LpStatus
|
||||
|
||||
from lib.application_configs import ApplicationConfigs
|
||||
from helpers import aws_helper, tar_helper, csv_helper, service_helper
|
||||
@ -82,7 +82,7 @@ class FormGenerationService(Base):
|
||||
# create problem
|
||||
problem_handler = Problem(items = self.solver_run.unbundled_items(), bundles = self.solver_run.bundles, problem = LpProblem('ata-form-generate', LpMinimize))
|
||||
problem_handler.generate(solution, self.solver_run)
|
||||
problem = problem_handler.solve()
|
||||
problem = problem_handler.solve(self.solver_run)
|
||||
|
||||
if LpStatus[problem.status] == 'Infeasible':
|
||||
logging.info(
|
||||
|
Reference in New Issue
Block a user