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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Connection to a spreadsheetThe spreadsheet operations in <strong>OPL</strong> all refer to a spreadsheet connection. The instruction/* .dat file */SheetConnection sheet("transport.xls");establishes a connection sheet to a spreadsheet named transport.xls. The connectionsheet should be viewed as a handle on the spreadsheet. Note that it is possible in <strong>OPL</strong> toconnect to several spreadsheets within the same model.Note that SheetConnection takes only one parameter and that you don't need to specifythe full path to the spreadsheet name. Relative paths are resolved using the current directoryof .dat files.Note: In this section, we often use the word “spreadsheet” for “spreadsheet connection”.I 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 L67

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

Saved successfully!

Ooh no, something went wrong!