Xpress Optimization

Mosel database and spreadsheet examples

All examples in this directory are explained in the whitepaper 'Using ODBC and other database interfaces with Mosel'.

Examples that have several versions obey the following naming convention:
'filename*.mos' where '*' =
  [] - 'odbc' driver,
  1 - working with text data files,
  2 - ODBC connection using SQL statements,
  3 - 'excel' driver (Windows only),
  4 - Oracle (OCI) interface,
  5 - 'xls'/'xlsx' driver,
  6 - 'csv' driver



Reading sparse data from text files, spreadsheets and databases, and from memory: Data input, initializations from, SQL, ODBC, spreadsheet, CSV
 
Data output to text files, spreadsheets and databases, and to memory: Data output, initializations to, SQL, ODBC, spreadsheets, CSV
 
Dataframe formats: dataframe, union types, CSV format
 
Dense vs. sparse data format: array types, noindex
 
Auto-indexation for single-dimensional arrays: auto-indexation
 
Writing out solution values to text files, spreadsheets or databases: solution data output, 'evaluation of'
 
Spreadsheets and databases: working with multiple data tables and arrays: data input/output, multiple tables, multiple data arrays
 
Formulation of SQL (selection) statements: Advanced SQL functionality, retrieve database and table structure
 
Reading and writing records and lists: record data structure, list data structure
 
Reading and writing union types: Types any, date, time; data input/output
 
Reading and writing dates and times: data types date, time, datetime
 
Reading 3-dimensional arrays: Multidimensional array input, option partndx
 

 

  Comments or suggestions about the examples? Please e-mail support@fico.com