GuillotineModels.SaveModel

GuillotineModels.SaveModelModule

SaveModel module purpose is to provide a delegate-to-solver option to MathOptInterface.write_to_file. Instead of using the current MOI fallback (that only works for MPS and is kinda memory-hungry and slow), SaveModel.write_to_file checks if SaveModel.natively_supports returns true for its arguments, and in such case calls SaveModel.native_write_to_file over the object returned by the MOI.RawSolver() property; otherwise it calls the MOI fallback.

source