@@ -372,6 +372,44 @@ function _parse_section(::IO, ::Val{T}, ::_CacheModel) where {T}
372372 return error (" Unable to parse NL file: unhandled header $T " )
373373end
374374
375+ function _parse_section (:: IO , :: Val{'F'} , :: _CacheModel )
376+ return error (
377+ " Unable to parse NL file: imported function descriptions ('F' " *
378+ " sections) are not yet supported. To request support, please open an " *
379+ " issue at https://github.com/jump-dev/MathOptInterface.jl with a " *
380+ " reproducible example." ,
381+ )
382+ end
383+
384+ function _parse_section (io:: IO , :: Val{'S'} , model:: _CacheModel )
385+ k = _next (Int, io, model)
386+ n = _next (Int, io, model)
387+ suffix = readline (io)
388+ @warn (" Skipping suffix: `S$k $n$suffix `" )
389+ for _ in 1 : n
390+ _read_til_newline (io)
391+ end
392+ return
393+ end
394+
395+ function _parse_section (:: IO , :: Val{'V'} , :: _CacheModel )
396+ return error (
397+ " Unable to parse NL file: defined variable definitions ('V' sections)" *
398+ " are not yet supported. To request support, please open an issue at " *
399+ " https://github.com/jump-dev/MathOptInterface.jl with a reproducible " *
400+ " example." ,
401+ )
402+ end
403+
404+ function _parse_section (:: IO , :: Val{'L'} , :: _CacheModel )
405+ return error (
406+ " Unable to parse NL file: logical constraints ('L' sections) are not " *
407+ " yet supported. To request support, please open an issue at " *
408+ " https://github.com/jump-dev/MathOptInterface.jl with a reproducible " *
409+ " example." ,
410+ )
411+ end
412+
375413function _parse_section (io:: IO , :: Val{'C'} , model:: _CacheModel )
376414 index = _next (Int, io, model) + 1
377415 _read_til_newline (io)
0 commit comments