There is no direct support for .lp format, but you can use the SAVE MPS statement to create an MPS format data set. The EXPAND statement yields output similar to .lp format. Is the purpose to get something human readable for debugging or to use as input to a solver that requires .lp format?
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.