concepts.dm.crow.parsers.crow_parser.load_problem_string#
- load_problem_string(string, domain=None)[source]#
Load a problem from a string.
- Parameters:
string (str) – the string containing the problem definition.
domain (CrowDomain | None) – the domain object. If not provided, the domain will be loaded from the domain file specified in the problem file.
- Returns:
the problem object.
- Return type: