English
Languages
English
Bengali
Japanese
Spanish



QuadraticProgram.read_from_lp_file

QuadraticProgram.read_from_lp_file(filename)[source]

Loads the quadratic program from a LP file.

Parameters:

filename (str) – The filename of the file to be loaded.

Raises:

FileNotFoundError – If the file does not exist.

Note

This method requires CPLEX to be installed and present in PYTHONPATH.

Return type:

None