DOCUMENTATION
  • Software
    • Software
    • SAS Viya
    • Industries
    • Solutions
    • Products
  • Learn
    • Learn
    • Training
    • Certification
    • Academics
    • Books
    • Video Tutorials
  • Support
    • Support
    • Communities
    • Documentation
    • Developers
    • Support & Services
    • User Groups
  • About Us
    • About Us
    • Why SAS?
    • Company
    • Careers
    • Newsroom
    • Events
    • Contact Us
  • Explore
    • Explore
    • Try & Buy
    • Why SAS?
    • Customer Stories
    • Partners
    • Consulting
  • Software
  • SAS Viya
  • Industries
  • Solutions
  • Products
  • Learn
  • Training
  • Certification
  • Academics
  • Books
  • Video Tutorials
  • Support
  • Communities
  • Documentation
  • Developers
  • Support & Services
  • User Groups
  • About Us
  • Why SAS?
  • Company
  • Careers
  • Newsroom
  • Events
  • Contact Us
  • Explore
  • Try & Buy
  • Why SAS?
  • Customer Stories
  • Partners
  • Consulting
  • Contact Us
Sign In

Create Profile

My SAS

Get access to My SAS, trials, communities and more.

SAS Sites

sas.com
Support
Blogs
Communities
Developer
Curiosity
Videos

Documentation

Learn
Brand
PartnerNet
Merchandise
SAS® Help Center
SAS® Viya® Platform Programming Documentation
2026.09
|PDF 
Feedback
 
  • Welcome to SAS Programming Documentation
  • What's New
  • Learning SAS Viya Platform Programming
  • Syntax Quick Links
  • Python Programming
  • Advanced Analytics
    • Machine Learning
    • Econometrics
    • SAS Enterprise Miner: High-Performance Procedures
    • Forecasting
    • IML (Interactive Matrix Language)
    • Optimization and Simulation
      • SAS Optimization
      • SAS/OR
        • SAS/OR User's Guide: Bill of Material Processing
        • SAS/OR User's Guide: Constraint Programming
        • SAS/OR User's Guide: Local Search Optimization
        • SAS/OR User's Guide: Mathematical Programming
        • SAS/OR User's Guide: Mathematical Programming Examples
          • Introduction
          • 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
          • Car Rental 1
          • Car Rental 2
          • Lost Baggage Distribution
          • Protein Folding
          • Protein Comparison
          • References
        • SAS/OR User's Guide: Network Optimization Algorithms
        • SAS/OR User's Guide: Project Management
      • SAS Simulation Studio
      • IRP and MIRP Procedures
    • Quality Control
    • Statistics
    • SAS Visual Analytics Programming Guide
    • Text Analytics
  • Data Access
  • Cloud Analytic Services
  • SAS Language Reference
  • Migrating to UTF-8
  • Example Data Sets
  • SAS Code Debugging
  • Output and Graphics
  • In-Database Processing
  • Security and Administration
  • SAS Servers
  • Using the batch Plug-In for the SAS Viya CLI
  • Accessibility on the SAS Viya Platform
  • SAS Data Quality
  • SAS Job Execution Web Application Doc Link
  • SAS Job Execution Web Application
  • SAS Data and AI Studio
  • SAS Visual Analytics
  • SAS Viya Platform: Administration
  • SAS Viya Platform Operations
  • Other Resources
SAS/OR User's Guide: Mathematical Programming Examples
 

Mining: Which Pits to Work and When to Close Them Down

  • Problem Statement
  • Mathematical Programming Formulation
  • Input Data
  • PROC OPTMODEL Statements and Output
  • Features Demonstrated
Copyright © SAS Institute Inc. All rights reserved.
Last updated: April 13, 2020
Privacy Statement Terms of Use 
Copyright © SAS Institute Inc. All Rights Reserved