()
| 66 | sorted(undeclared_predicates))) # Undeclared predicate: {} |
| 67 | |
| 68 | def reset_globals(): |
| 69 | # TODO: maintain these dictionaries in an object |
| 70 | Object.reset() |
| 71 | OptimisticObject.reset() |
| 72 | RULES[:] = [] |
| 73 | SOLUTIONS[:] = [] |
| 74 | |
| 75 | def parse_problem(problem, stream_info={}, constraints=None, unit_costs=False, unit_efforts=False): |
| 76 | # TODO: just return the problem if already written programmatically |