pycutest.import_problem
- pycutest.import_problem(problemName, destination=None, sifParams=None, sifOptions=None, efirst=False, lfirst=False, nvfirst=False, quiet=True, drop_fixed_variables=True)
Prepares a problem interface module, imports and initializes it.
- Parameters:
problemName – CUTEst problem name
destination – the name under which the compiled problem interface is stored in the cache (default =
problemName
)sifParams – SIF file parameters to use (as dict, keys must be strings)
sifOptions – additional options passed to sifdecode given in the form of a list of strings.
efirst – order equation constraints first (default
True
)lfirst – order linear constraints first (default
True
)nvfirst – order nonlinear variables before linear variables (default
False
)quiet – suppress output (default
True
)drop_fixed_variables – in the resulting problem object, are fixed variables hidden from the user (default
True
)
- Returns:
a reference to the Python interface class for this problem (class
pycutest.CUTEstProblem
)