How Can I Use SAS Optimization From Python? Q&A, Slides, and On-Demand Recording
Watch this Ask the Expert session to learn several ways to use SAS Optimization from Python.
Watch the webinar
You will learn:
The questions from the Q&A segment held at the end of the webinar are listed below and the slides from the webinar are attached.
Q&A
How demanding is it in terms of computational power requirements?
This particular instance solves quickly even on a laptop, but many of the SAS solvers (including MILP) also support distributed computing to take advantage of a grid of machines.
Can I split the data in training/validation/test sets? Where do we perform tuning of the model?
There is nothing built in for such splitting. But a nice benefit of an algebraic modeling language is that you can run the same model multiple times with different data without having to change the modeling code.
Would you share info on SAS AI webinars?
For all previous webinars, please visit https://www.sas.com/en_us/learn/ask-the-expert-webinars.html#on-demand-webinars
Our latest on AI is "How Do I Streamline AI Project Workflows?" - https://www.sas.com/en_us/webinars/ai-project-workflows.html
In one of your slides, you mentioned OPTMODEL Code: Sparse modeling. Sparse model means the model where only a small fraction of parameters are non-zero, how about when a large fraction of parameters are non-zero?
OPTMODEL supports both sparse and dense modeling. Here is a documentation example that illustrates sparse modeling: https://go.documentation.sas.com/doc/en/pgmsascdc/v_052/casmopt/casmopt_optmodel_examples07.htm
Recommended Resources
Mathematical Optimization, Discrete-Event Simulation, and OR
Mathematical Programming Examples
Please see additional resources in the attached slide deck.
Want more tips? Be sure to subscribe to the Ask the Expert board to receive follow up Q&A, slides and recordings from other SAS Ask the Expert webinars.
Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.
Ready to level-up your skills? Choose your own adventure.
Your Home for Learning SAS
SAS Academic Software
SAS Learning Report Newsletter
SAS Tech Report Newsletter