Resources
Products & Solutions
System Requirements
Samples
Install Center
Third-Party Software Reference
Documentation
What's New in SAS
Product Index A-Z
SAS Viya
SAS 9.4
SAS 9.3 and Earlier
Papers
Focus Areas
SAS/OR User's Guide 12.3
Example Programs
Choose option
Introduction to Mathematical Programming
Introduction to Mathematical Programming Legacy Procedures
Introduction to Project Management
BOM Procedure
CLP Procedure
CPM Procedure
Decomposition Algorithm
DTREE Procedure
Earned Value Macros
GA Procedure
GANTT Procedure
INTPOINT Procedure
Linear Progamming Solver
LP Procedure
Mathematical Programming Examples
Mixed Integer Linear Programming Solver
MPS-Format SAS Data Set
NETDRAW Procedure
NETFLOW Procedure
NLP Procedure
Nonlinear Programming Solver
OPTLP Procedure
OPTMILP
OPTMILP Option Tuner
OPTMODEL Procedure
OPTNET Procedure
OPTQP Procedure
PM Procedure
Quadratic Progamming Solver
Miscellaneous Project Management Examples
Microsoft Project Conversion Macros
Introduction to Mathematical Programming
Introduction to Optimization example
Introduction to Mathematical Programming Legacy Procedures
Introduction to Optimization examples
Introduction to Project Management
Project Definition
Work Breakdown Structure
Project Scheduling and Reporting
Summarizing the Schedule
Resource Constrained Scheduling
Multiple Projects
Sequential Scheduling of Projects
Cost Analysis
Subcontracting Decision
BOM Procedure
Getting Started and Details Examples
Bill of Material with Single Input Data Set
Bill of Material with Lead Time Information
Bill of Material with Scrap Factor Information
Planning Bill of Material
Modular Bill of Material
Bill of Material w/ Repeated Relationships
Bill of Material Verification
Roll-Up Cost in Indented Bill of Material
Bill of Material Explosion
Aggregating Forecasts Using PROC BOM
Examples from the BOM Macros chapter
CLP Procedure
Getting Started Examples
Logic Based Puzzles
Alphabet Blocks Problem
Work-Shift Scheduling: Finding Optimal Assignment
A Nonlinear Optimization Problem
Car Painting Problem
Scene Allocation Problem
The Car Sequencing Problem
Round Robin Tournament Scheduling
Resource Scheduling w/ Nonstandard Temporal Constraints
Scheduling with Alternate Resources
10X10 Job Shop Scheduling Problem
Scheduling a Major Basketball Conference
Balanced Incomplete Block Design
Progressive Party Problem
CPM Procedure
Software Development Project
Activity-on-Node Representation
Activity-on-Arc Representation of Project
Meeting Project Deadlines
Printing the Schedule on a Calendar
Precedence Gantt Chart
Changing Duration Units
Controlling the Project Calendar
Scheduling Around Holidays
Specifying CALEDATA and WORKDATA Data Sets
Multiple Calendars
Nonstandard Relationships
Activity Time Constraints
Progress Update and Target Schedules
Summarizing Resource Utilization
Resource Allocation
Using Supplementary Resources
Use of the INFEASDIAGNOSTIC Option
Variable Activity Delay
Activity Splitting
Scheduling with Alternate Resources
PERT Assumptions and Calculations
Scheduling Course / Teacher Combinations
Multiproject Scheduling
Resource Driven Durations and Res.Calendars
Resource Driven Durations and Alt Resources
Multiple Alternate Resources
Auxiliary and Alternate Resources
Use of the SETFINISHMILESTONE Option
Negative Resource Requirements
Auxiliary Resources and Negative Resource Reqmts
Resource-Driven Durations and Negative Requirements
Decomposition Algorithm
Getting Started Example
Getting Started Example
Multicommodity Flow Problem
Generalized Assignment Problem
Block-diagonal Structure
Resource Allocation
ATM Cash Management
DTREE Procedure
Oil Wildcatter's Problem
Oil Wildcatter's Problem with an Insurance
Oil Wildcatter's Problem in Risk Averse Setting
Contract Bidding Problem
Research and Development Decision Problem
Loan Grant Decision Problem
Petroleum Distributor's Decision Problem
Earned Value Macros
Getting Started Example
Integrated Assembly Project
Construction Project
GA Procedure
Getting Started Example
Traveling Salesman Prob with Local Optimization
Nonlinear Objective and Constraints Using Repair
Quadratic Obj with Linear Cons, Using Bicriterion
GANTT Procedure
Software Development Project
Line-printer Gantt Chart
Customizing the Line-printer Gantt Chart
Marking Holidays
Marking Milestones and Special Dates
Using the COMPRESS option
Using the MININTERVAL= and SCALE= Options
Use of MINDATE and MAXDATE Options
Variable Length Holidays
Multiple Calendars
Plotting ACTUAL Schedule
Comparing Progress against a BASELINE
Using the COMBINE option (gantt12)
Plotting the Resource Constrained Schedule
Specifying the Schedule Data Directly
BY Processing
GANTT Chart by Persons
Using the HEIGHT= and HTOFF= options
Logic Gantt chart: (AON) & LEVEL= Option
Specifying the Logic Options
Non Standard Precedence Relationships
Using the ANNOTATE= Option
Using Automatic Text Annotation Facility
Multiproject GANTT Charts
Segmented Gantt Charts
Zoned Gantt Chart
Producing Web Enabled Gantt Charts
Using the CHARTWIDTH= Option
Time Axis Labeling
INTPOINT Procedure
All Examples From INPOINT (For Consecutive Runs)
Getting Started: NPSC Problems
Getting Started: LP Problems
Missing S Supply and Missing D Demand Values
Production, Inventory, Distribution Problem
Altering Arc Data
Adding Side Constraints
Using Constraints/More Alteration to Arc Data
Nonarc Variables in the Side Constraints
Solving an LP Problem with Data in MPS Format
Converting to an MPS-Format SAS Data Set
Migration to OPTMODEL: Production, Inventory, Distribution
Linear Progamming Solver
Getting Started Example
Diet Problem
Reoptimizing Using BASIS=WARMSTART
Two-Person Zero-Sum Game
Finding an Irreducible Infeasible Set
Min-cost Network Flow Problem Using Network Simplex
Migration: Generalized Networks
Migration: Maximum Flow
Migration: Production, Inventory, Distribution
Migration: Shortest Path
LP Procedure
Oil Blending Problem
Sparse View of Oil Blending Problem
Analyzing Solution Sensitivity to Obj Coeffs
More Objective Sensitivity Analysis
Parametric Programming for the Oil Blending
SOS Set and the Oil Blending Problem
Goal-Programming a Product Mix Problem
A Simple Integer Program
An Infeasible Problem
Restarting an Integer Program
Alternative B & B Search Strategy
An Assignment Problem
A Scheduling Problem
Multi-Commodity Transshipment Problem
Converting to an MPS-Format SAS Data Set
Migration to OPTMODEL: Assignment
Migration to OPTMODEL: Multicommodity Transshipment
Mathematical Programming Examples
Food Manufacture 1
Food Manufacture 2
Factory Planning 1
Factory Planning 2
Manpower Planning
Refinery Optimization
Mining
Farm Planning
Economic Planning
Decentralization
Curve Fitting
Logical Design
Market Sharing
Opencast Mining
Tariff Rates (Power Generation)
Hydro Power
Three-Dimensional Noughts and Crosses
Optimizing a Constraint
Distribution 1
Depot Location (Distribution 2)
Agricultural Pricing
Efficiency Analysis
Milk Collection
Yield Management
Mixed Integer Linear Programming Solver
Getting Started Example
Scheduling
Multicommodity Transshipment w/ Fixed Charges
Facility Location
Traveling Salesman Problem
MPS-Format SAS Data Set
Examples
NETDRAW Procedure
Software Development Project
Line-printer Network Diagram
Graphics Network Diagram
Spanning Multiple Pages
The COMPRESS and PCOMPRESS Options
Controlling Display Format
Non Standard Precedence Relationships
Controlling Arc Routing Algorithm
Specifying PATTERN and SHOWSTATUS
Time Scaled Network Diagram
Time Scale Options
Zoned Network Diagrams
Schematic Diagrams
Modifying Network Layout
A Distribution Network
Tree Diagrams and Organizational Charts
Annotate Facility with PROC NETDRAW
AOA Network Using the Annotate Facility
Branch and Bound Tree
Scheduling a Hospital Move
NETFLOW Procedure
SAS code in NETFLOW procedure chapter
NLP Procedure
SAS code in the NLP procedure chapter
Nonlinear Programming Solver
Getting Started Example
Solving Highly Nonlinear Optimization Problems
Solving Unconstrained Optimization Problems
Solving NLP Problems With Range Constraints
Solving Large-Scale NLP Problems
Solving NLP Problems With Several Local Minima
OPTLP Procedure
Getting Started Example
Oil Refinery Problem
Solving the Oil Problem by the Interior Point Solver
The Diet Problem
Reoptimizing After Modifying the Objective Function
Reoptimizing After Modifying the Right-Hand Side
Reoptimizing After Adding a New Constraint
Finding an Irreducible Infeasible Set
Min-cost Network Flow Problem Using Network Simplex
OPTMILP Procedure
Getting Started Example
Simple Integer Linear Program
MIPLIB Benchmark Instance
Facility Location
Scheduling
OPTMILP Option Tuner
Getting Started Examples
Tuning the Default Set of Options on a Single Problem
Tuning a Defined Set of Options on Multiple Problems
OPTMODEL Procedure
Getting Started Examples
Basic Concepts Examples
Syntax Examples
Expression Extension Examples
Details Examples
Rewriting PROC NLP Models Examples
Matrix Square Root
Reading from and Creating a Data Set
Model Construction
Set Manipulation
Cutting Stock
Traveling Salesman Problem
OPTNET Procedure
Details Examples
Articulation Points in a Terrorist Network
Cycle Detection for Kidney Donor Exchange
Linear Assignment Problem for Minimizing Swim
Linear Assignment Problem, Sparse Format versus
Minimum Spanning Tree for Computer Network
Transitive Closure for Identification of Circular
Traveling Salesman Tour Through U.S. Capital
Getting Started Examples
OPTQP Procedure
Getting Started Example
Linear Least-Squares Problem
Portfolio Optimization
Portfolio Selection with Transactions
PM Procedure
Software Project
Defining a New Project
Quadratic Progamming Solver
Getting Started Example
Linear Least-Squares Problem
Portfolio Optimization
Portfolio Selection with Transactions
Miscellaneous Project Management Examples
Pool Project
Factory Expansion Project
LAN Selection Project
Integrated Assembly Test Project
Subdivision Construction Project
Landfill Site Project
Pipeline Maintenance Project
Pharmaceutical Project
Course Scheduling Project
Software Development Project
Microsoft Project Conversion Macros
Simple %MSPTOSAS Conversion
Importing Activity Attributes
Importing Multiple Projects
Simple %MSPTOSAS Conversion
Simple %SASTOMSP Conversion
Exporting Data Set and Variable Names
Exporting Calendars and Holidays
Exporting Resource-Constrained Schedules
Round Trip between SAS and Microsoft Project