save
Class method.
- save(self, path)
Saving the objective to a given file with dill.
The path can be absolut or relative and the ending of the file is arbitrary.
- Parameters
path (str) – String defining the path to the desired file.
For example
>>> objective.save('objective.pickle')
will create a file objective.pickle containing the nMPyC objective object.