The read_from_file() function is quite slow on my .mps file. It takes 33 seconds to build a model from the .mps file, while the C_API of HiGHS (call from Julia) takes only about the 8 seconds. Please see the below:
@time model_JuMP = read_from_file("2025-1126-SCUC-noncon.mps");
33.343285 seconds (236.12 M allocations: 14.443 GiB, 25.32% gc time)
@time HiGHS.Highs_readModel(model_HiGHS,"2025-1126-SCUC-noncon.mps");
7.832455 seconds (1.50 k allocations: 78.234 KiB, 0.05% compilation time)
Just wondering if there is any way to build a JuMP.Model faster from .mps files.
Many thanks!