ZonoOpt 2.4.1
Loading...
Searching...
No Matches
Classes | Namespaces
GurobiSettings.hpp File Reference

Settings for the dynamically-loaded Gurobi solver backend. More...

#include <map>
#include <optional>
#include <sstream>
#include <stdexcept>
#include <string>
#include "SolverDataStructures.hpp"

Go to the source code of this file.

Classes

struct  ZonoOpt::GurobiSettings
 Settings for the dynamically-loaded Gurobi solver backend. More...
 
struct  ZonoOpt::GurobiSolverResults
 Solver-native solution metadata produced by the Gurobi backend. More...
 

Namespaces

namespace  ZonoOpt
 

Detailed Description

Settings for the dynamically-loaded Gurobi solver backend.

Hybrid design: commonly-used parameters are exposed as typed std::optional fields (great IDE / autocompletion / docs), and rare parameters can be set via the int_params / dbl_params / str_params escape-hatch maps keyed by Gurobi's documented parameter name.

Any field/map entry left unset (nullopt / absent) is not applied to the model, leaving Gurobi's own default in place.

Full parameter list and meanings: https://docs.gurobi.com/projects/optimizer/en/current/reference/parameters.html