BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
JMKUO
Calcite | Level 5

Question 2 of 2.1 of the Optimization portion of the Text/TimeSeries/Experiments/Optimization course says the default algorithm for linear programming is dual simplex, while the "Three-Dimensional Example" video states that the default in PROC OPTMODEL is primal simplex. Which is it? Am I conflating two different parts of the program, or is this contradictory?

1 ACCEPTED SOLUTION

Accepted Solutions
TheresaStemler
SAS Moderator
The dual simplex algorithm is the default algorithm for all linear programming problems in Proc OptModel.

View solution in original post

4 REPLIES 4
WarrenKuhfeld
Ammonite | Level 13

It might depend. I believe if you run an example, it should tell you which method it is using.

 

https://support.sas.com/documentation/onlinedoc/or/143/optmodel.pdf

 

MODEL chooses a solver that depends on the problem type. Table 5.8 lists the default solver for each problem type.1

Table 5.8 Default Solvers and Algorithms in PROC OPTMODEL

 

Problem Solver Algorithm Constraint programming CLP Constraint propagation and backtracking search

Linear programming LP Dual simplex

Mixed integer linear programming MILP Branch-and-cut

General nonlinear programming NLP Interior point NLP

Quadratic programming QP Interior point QP

JMKUO
Calcite | Level 5
Thanks! - So, if asked on certification, for LP in OPTMODEL, the algorithm default is indeed dual simplex, correct?
WarrenKuhfeld
Ammonite | Level 13

I can't verify t anything about the procedure, test or documentation.  All I can do is point you to the documentation.  Perhaps someone more knowledgeable will look at your question and respond.

TheresaStemler
SAS Moderator
The dual simplex algorithm is the default algorithm for all linear programming problems in Proc OptModel.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Discussion stats
  • 4 replies
  • 3348 views
  • 3 likes
  • 3 in conversation