load

Class method.

load(path)

Loads a nMPyC objective object from a file.

The specified path must lead to a file that was previously saved with save().

Parameters:

path (str) – String defining the path to the file containing the nMPyC objective object.

For example

>>> objective.load('objective.pickle')

will load the objective previously saved with save().