Originally posted by: SystemAdmin
Hi,
I am using the version 12.5 of IBM ILOG CPLEX
Optimization Studio (Build id 20121025-0121).
Following a lab exercise concerning database
connectivity I noticed an unexpected outcome.
The data connection is realized as follows:
DBConnection db("odbc","DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=C:\\Documents and Settings\\Administrator\\Desktop\\Model_Dev_Lab_Source - verbessert\\COS125.labs\\Staffing\\skills.mdb//");
The aim is to write a result set
({string} hiredWorkers = {w | w in namesOfWorkers : hireWorker[w] == 1})
into the data base table new_hires via
hiredWorkers to DBUpdate(db,"insert into new_hires(hire_name) values(?)");
The result set contains 6 items. Nevertheless at
the end of the optimization run only the first
string can be found in the database table.
I would have expected all items to be written into
the table. As far as I remember this had been the
behaviour with previous versions.
You will find the concerned data attached.
Thank you in advance, best regards
Ulrich
#DecisionOptimization#OPLusingCPLEXOptimizer