Bengali
ভাষাসমূহ
English
Bengali
Japanese
Spanish



QuadraticProgram.write_to_lp_file

QuadraticProgram.write_to_lp_file(filename)[source]

Writes the quadratic program to an LP file.

প্যারামিটার:

filename (str) -- The filename of the file the model is written to. If filename is a directory, file name 'my_problem.lp' is appended. If filename does not end with '.lp', suffix '.lp' is appended.

রেইজেস:
  • OSError -- If this cannot open a file.

  • DOcplexException -- If filename is an empty string