BookmarkSubscribeRSS Feed
bgrondman
Calcite | Level 5

Hi all,

I would like to solve a mixed integer linear program in SAS, however, the company I work for does not have SAS/OR.

Is it possible to solve a mixed integer linear program, or even a linear program in SAS base (EG)? And do you have any guidelines/ good manuals where to start?

(I know how to solve a MILP in R.)

Thank you!

3 REPLIES 3
Philipp_SAS
SAS Employee

Hello,

The (mixed integer) linear solvers are only available through SAS/OR. What you are probably looking for is PROC OPTMODEL, and algebraic modelling language, also only available with a SAS/OR license. Maybe you can talk to your site representative, it might be that your company has a SAS/OR license it is just not installed or it might be easy to add. If you want to do OR with SAS, Base will not help you much unless you want to write simple heuristics using the data step.

Have a good day

Philipp

goladin
Calcite | Level 5

Hi,

Alternatively, if you have SAS/IML, you might want to try to construct a MILP solver.

Regards,

Murphy

YanXu
SAS Employee


SAS/IML's optimization ability is limited. It doesn't have a MILP solver yet. Also, it exiting LP and NLP solvers are not as powerful as those in SAS/OR.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1476 views
  • 0 likes
  • 4 in conversation