load

Class method.

load(path)

Loads a nMPyC constraints 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 constraints object.

For example

>>> constraints.load('constraints.pickle')

will load the constraints previously saved with save().