Skip to main content

classify_problem

Function classify_problem 

Source
pub fn classify_problem(prob: &NlProblem) -> ProblemClass
Expand description

Classify a parsed .nl problem.

Works off the already-split linear / nonlinear representation in NlProblem: a row contributes to the class only through its nonlinear Expr (the linear part is, by construction, linear). The classifier is deliberately conservative — see the module docs.