amplify.save_lp

save_lp(model: amplify.BinaryQuadraticModel, path: str) None

Save model to an LP file.

Args:
model (BinaryQuadraticModel):
  • The model to save.

path (str):
  • The path to the LP file.