data credit;
input _id_ $ w1 w2 w3 e
_type_ $ _rhs_;
datalines;
object 0 0 0 1 min .
const1 24 2 0 -1 LE 100
const2 35 6 1 -1 LE 100
const3 40 4 1 -1 LE 100
const4 30 10 0 1 GE 100
const5 28 1 0 -1 LE 100
const6 50 5 1 -1 LE 100
const7 45 15 1 1 GE 100
const8 60 10 0 1 GE 100
const9 20 1 0 -1 LE 100
const10 25 5 1 1 GE 100
;
proc lp data=credit;
run;
Questions about PROC LP in SAS/OR are better suited for the Mathematical Optimization and Operations Research Community. If you still need help, please post there. Please note that LP is a legacy procedure; OPTMODEL, OPTLP, and OPTMILP are recommended instead.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.