# ___________________________________________________________________________
#
# Pyomo: Python Optimization Modeling Objects
# Copyright (c) 2008-2025
# National Technology and Engineering Solutions of Sandia, LLC
# Under the terms of Contract DE-NA0003525 with National Technology and
# Engineering Solutions of Sandia, LLC, the U.S. Government retains certain
# rights in this software.
# This software is distributed under the 3-clause BSD License.
# ___________________________________________________________________________
from .common.factory import SolverFactory
from .solvers.ipopt import Ipopt
from .solvers.gurobi_persistent import GurobiPersistent
from .solvers.gurobi_direct import GurobiDirect
from .solvers.highs import Highs
[docs]
def load():
SolverFactory.register(
name='ipopt', legacy_name='ipopt_v2', doc='The IPOPT NLP solver'
)(Ipopt)
SolverFactory.register(
name='gurobi_persistent',
legacy_name='gurobi_persistent_v2',
doc='Persistent interface to Gurobi',
)(GurobiPersistent)
SolverFactory.register(
name='gurobi_direct',
legacy_name='gurobi_direct_v2',
doc='Direct (scipy-based) interface to Gurobi',
)(GurobiDirect)
SolverFactory.register(
name='highs', legacy_name='highs', doc='Persistent interface to HiGHS'
)(Highs)