12.07.2015 Views

ILOG OPL Development Studio Language Reference Manual

ILOG OPL Development Studio Language Reference Manual

ILOG OPL Development Studio Language Reference Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

[0 0 2 4 5][0 0 3 4 5][0 0 2 1 5]From a databaseReading database columns to a tuple array (oilDB2.dat) is more efficient since no datais duplicated.Reading database columns to a tuple array (oilDB2.dat)Gasolines,Gas from DBRead(db,"SELECT name,name,demand,price,octane,lead FROMGasData");Oils,Oil from DBRead(db,"SELECT name,name,capacity,price,octane,lead FROMOilData");You can also write:Gasolines from DBRead(db,"SELECT name FROM GasData");Gas from DBRead(db,"SELECT name,demand,price,octane,lead FROM GasData");Oils from DBRead(db,"SELECT name from OilData");Oil from DBRead(db,"SELECT name,capacity,price,octane,lead FROM OilData");46I L O G O P L D E V E L O P M E N T S T U D I O L A N G U A G ER E F E R E N C E M A N U A L

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!