You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from unified_planning.shortcuts import *
import unified_planning.model.scheduling as sched
problem = sched.SchedulingProblem()
a = problem.add_activity('a', 10)
a.add_parameter('p', BoolType())
print(problem)
with OneshotPlanner(name='aries') as planner:
solution = planner.solve(problem)
print(solution)
Hi,
consider this example:
It prints the following:
Why does it give
INTERNAL_ERROR
?If I comment the
add_parameter()
line, it works.Best,
Nicola
The text was updated successfully, but these errors were encountered: