Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving and load doesn't work! #13

Open
Franco7Scala opened this issue Aug 20, 2024 · 0 comments
Open

Saving and load doesn't work! #13

Franco7Scala opened this issue Aug 20, 2024 · 0 comments

Comments

@Franco7Scala
Copy link

basically saving a model when you reload it you get this error:

Unable to parse the conditions of binary constraint template

I use these methods to save and reload the model:

  • saving:
discovered_model: DeclareModel = discovery.run()
discovered_model.to_file(decl_path)
  • loading:
discovered_model = DeclareModel()
discovered_model = discovered_model.parse_from_file(decl_path)

Attached is the file containing the saved model.

declare_model_synthesized_d62.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant