util

Classes

PyomoCommandLogContext(options)

Context manager to setup/restore logging for the Pyomo command

Functions

apply_optimizer(data[, instance])

Perform optimization with a concrete instance

apply_postprocessing(data[, instance, results])

Apply post-processing steps.

apply_preprocessing(data[, parser])

Execute preprocessing files

cleanup()

configure_loggers([options, shutdown])

DEPRECATED.

create_model(data)

Create instance of Pyomo model.

finalize(data[, model, instance, results])

Perform final actions to finish the execution of the pyomo script.

get_config_values(filename)

process_results(data[, instance, results, opt])

Process optimization results.

run_command([command, parser, args, name, ...])

Execute a function that processes command-line arguments and then calls a command-line driver.

setup_environment(data)

Setup Pyomo execution environment