SAS Optimization Interface for Python

PDF Version

Date: Mar 31, 2021 | Version: 1.0 | Release: 1.0.4 | Reference: 1.0.4-5-gd8e9ac8

Links: Repository | Issues | Releases | Community

sasoptpy is a Python package that provides a modeling interface for SAS Optimization and SAS/OR optimization solvers. It provides a quick way for users to deploy optimization models and solve them using SAS Viya and SAS 9.4.

sasoptpy can handle linear, mixed integer linear, nonlinear, and black-box optimization problems. You can use native Python structures such as dictionaries, tuples, and lists to define an optimization problem. sasoptpy offers extensive support of pandas objects.

Under the hood, sasoptpy uses the SAS Scripting Wrapper for Analytic Transfer (SWAT) package to communicate with SAS Viya, and uses the SASPy package to communicate with SAS 9.4 installations.

sasoptpy is an interface to SAS Optimization solvers. See SAS Optimization: Mathematical Optimization Procedures for more information about SAS optimization tools.

See the SAS Global Forum paper: Optimization Modeling with Python and SAS Viya