Skip to content

Support TCN input and dump preprocessed TCN - #30

Open
multivvac wants to merge 2 commits into
ptal:mainfrom
multivvac:tcn-support
Open

Support TCN input and dump preprocessed TCN#30
multivvac wants to merge 2 commits into
ptal:mainfrom
multivvac:tcn-support

Conversation

@multivvac

@multivvac multivvac commented May 5, 2026

Copy link
Copy Markdown

Adds direct .tcn input via lala-parsing's parse_tcn() and a -dump_preprocessed_tcn flag that emits the post-preprocessing ternary constraint network in the TCN text format.

Depends on:

Comment thread include/common_solving.hpp Outdated
Comment thread include/common_solving.hpp Outdated
Adds direct .tcn input via lala-parsing's parse_tcn() and a
-dump_preprocessed_tcn flag that emits the post-preprocessing ternary
constraint network (variables + bytecodes) in the TCN text format.
Replaces the inline serialization loop in dump_preprocessed_tcn_if_needed
with a call to lala::write_preprocessed_tcn(), keeping only the file IO
and config handling on the turbo side.
@multivvac
multivvac requested a review from ptal May 5, 2026 18:51

@ptal ptal left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks fine, i'll wait the update in lala-parsing before merging.

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

Successfully merging this pull request may close these issues.

2 participants