Working MILP version of predicate splitter

This commit is contained in:
Rob Knight 2026-04-30 16:56:42 +01:00
parent e9e3241263
commit 2443f85520
No known key found for this signature in database
4 changed files with 705 additions and 600 deletions

View file

@ -399,6 +399,16 @@ pub enum SplittingError {
max_allowed: usize,
suggestion: Option<Box<RefactorSuggestion>>,
},
#[error("Could not split predicate '{predicate}' into a chain: no feasible partition exists with up to {max_links} links. \
The predicate's wildcard structure may be too dense for any chain to fit within max_statement_args ({max_statement_args}) \
and max_custom_predicate_wildcards ({max_wildcards}) per link.")]
Infeasible {
predicate: String,
max_links: usize,
max_statement_args: usize,
max_wildcards: usize,
},
}
impl From<ParseError> for LangError {