Skip to content

Feature request: Add HiGHS solver support (or external solver configuration) to MUIO #64

Description

@AtiqueURehman

Thank you for building and maintaining MUIO. I am using it for national energy and NDC scenario modeling, and it has been very helpful for setting up OSeMOSYS models without writing GMPL by hand.

Problem

When working with larger country-level models (e.g., 150+ technologies, multiple commodities, several years and time slices, and multiple scenarios), the current default solver (CBC / GLPK) becomes very slow:

  • Solving a single scenario can take a long time, though probably not several hours on a typical laptop
  • Running multiple scenarios for policy analysis becomes impractical.
  • MUIO currently does not offer any option to switch to faster solvers like HiGHS or CPLEX, even though these are widely used in the OSeMOSYS ecosystem (e.g., otoole, tz-osemosys, mosox).

As a result, advanced users end up exporting GMPL from MUIO and solving externally with HiGHS/CPLEX, then post-processing results separately. This works, but it defeats the purpose of an integrated GUI and makes it harder for less technical users (e.g., ministry staff, consultants, trainees) to benefit from faster solvers.

Request

Could the MUIO team please consider one of the following:

  1. Add HiGHS as a built-in solver option in MUIO (alongside CBC/GLPK), or
  2. Allow users to configure an external solver (HiGHS/CPLEX/Gurobi) via:
    • A settings field for solver path/command, and
    • A “Solve with external solver” button that exports LP/MPS and calls the configured solver.

HiGHS is:

  • Open-source and MIT-licensed.
  • Already supported by other OSeMOSYS tools (otoole, tz-osemosys, mosox).
  • Significantly faster than CBC/GLPK on large energy models, as shown in benchmarks for mosox and other tools.

Given that CCG is already investing in mosox + HiGHS as part of MOSAIC-Modelling.ai, it would be very valuable to bring that performance benefit into MUIO as well, especially for users working on NDCs and national energy plans.

Impact

Adding HiGHS (or external solver support) would:

  • Make MUIO usable for larger, more realistic country models.
  • Reduce solve times from hours to minutes in many cases.
  • Align MUIO with the broader OSeMOSYS toolchain and CCG’s strategic direction.

I am happy to:

  • Test any beta versions that add HiGHS or external solver support.
  • Provide example large models/data for benchmarking.
  • Help document the new workflow for other users.

Thank you for your work on MUIO, and I look forward to your thoughts.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions