Skip to main content

load_problem_from_reader_with_options

Function load_problem_from_reader_with_options 

Source
pub fn load_problem_from_reader_with_options(
    reader: impl BufRead,
    options: &LoadOptions,
) -> Result<SvmProblem, SvmError>
Expand description

Load an SVM problem from any buffered reader, with explicit resource caps.

See LoadOptions for the meaning of each cap and for defaults tuned for untrusted input. This function has the same validation contract as load_problem, with caller-supplied caps.