BookmarkSubscribeRSS Feed
achowdhu
Calcite | Level 5

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;

1 REPLY 1
RobPratt
SAS Super FREQ

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.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 264 views
  • 1 like
  • 2 in conversation