amplfunc_merge

(function from pyomo.solvers.amplfunc_merge)

pyomo.solvers.amplfunc_merge.amplfunc_merge(env, *funcs)[source]

Merge AMPLFUNC and PYOMO_AMPLFUNC environment variables with provided values

Paths are returned with entries from AMPLFUNC first, PYOMO_AMPLFUNC second, and the user-provided arguments last. Duplicates and empty paths are filtered out.

Parameters:
  • env (Dict[str, str]) – Environment dictionary mapping environment variable names to values.

  • *funcs (str) – Additional paths to combine.