List of Contributions

Daniel Junglas

Contact Details

My Content

1 to 20 of 50+ total
Posted By Daniel Junglas Aug 3, 2020 10:14 AM
Found In Egroup: Decision Optimization
\ view thread
The best way to investigate would be if someone could post a full log of the configure and make output. Both packages are not officially supported by IBM, so we know as much about this software as you. We may however be able to figure something out by staring at that output. Moreover, there have been ...
Posted By Daniel Junglas Aug 3, 2020 9:54 AM
Found In Egroup: Decision Optimization
\ view thread
Is your screenshot from the IDE or from oplrun? Does the execution of oplrun hang or does it crash? The message usually appears in the IDE if the oplrun process crashed (due to out-of-memory for example). So for debugging we should focus on the problems that appear when running oplrun directly. Which ...
Posted By Daniel Junglas Aug 3, 2020 12:48 AM
Found In Egroup: Decision Optimization
\ view thread
This is very weird. I just checked the 12.10 libraries and the CPXparamhiername() function in the static as well as the dynamic library. I cannot test this myself here since I don't have R installed. I am not clear how R handles these additional packages like the cplexAPI connector. Is this a shared ...
Posted By Daniel Junglas Jul 31, 2020 12:22 AM
Found In Egroup: Decision Optimization
\ view thread
Support for 32bit was dropped, that may be the reason? In order to track this down, it would be good to know what exactly the installation script is checking and how excatly that fails. ------------------------------ Daniel Junglas ------------------------------
Posted By Daniel Junglas Jul 30, 2020 12:44 AM
Found In Egroup: Decision Optimization
\ view thread
Thanks a lot for reporting this. Having two different -O options on the same command line is not intended. We will have to fix the Makefile . As for your question: The flags you specify on the command line affect only your code. The CPLEX code is shipped in compiled form and thus compiler flags do not ...
Posted By Daniel Junglas Jul 29, 2020 1:05 AM
Found In Egroup: Decision Optimization
\ view thread
I am not sure this is indeed "unofficial" API. There are two parties that can support an adapter: either IBM can provide code to adapt to Julia, or the Julia team can support CPLEX. As for why IBM does not have an explicit Julia connector: there are many programming languages in the world and IBM only ...
Posted By Daniel Junglas Jul 28, 2020 5:37 AM
Found In Egroup: Decision Optimization
\ view thread
In this regard CPLEX is no different than other libraries. There are usually three steps you have to perform: Update the list of directories in which the compilier looks for header files. For CPLEX you need to include COSDIR/cplex/include and COSDIR/concert/include (where COSDIR is the absolute path ...
Posted By Daniel Junglas Jul 27, 2020 11:43 AM
Found In Egroup: Decision Optimization
\ view thread
This forum is dedicted to decision optimization using CPLEX. It looks like you are using SciPy, NumPy, etc. You may find answers in forums that dedicated to these packages. ------------------------------ Daniel Junglas ------------------------------
Posted By Daniel Junglas Jul 27, 2020 11:41 AM
Found In Egroup: Decision Optimization
\ view thread
The term o in 1..nbOrders : colors[o] == c yields all the orders that have color c . So or(...) iterates over all orders that have color c . For each of these orders o it checks whether where[o] == s . It finally forms the logical OR of all these tests. So the whole OR evaluates to true if there is at ...
Posted By Daniel Junglas Jul 27, 2020 9:36 AM
Found In Egroup: Decision Optimization
\ view thread
There is one on github: https://github.com/jump-dev/CPLEX.jl ------------------------------ Daniel Junglas ------------------------------
Posted By Daniel Junglas Jul 24, 2020 9:22 AM
Found In Egroup: Decision Optimization
\ view thread
Since you suspect there might be some unsupported syntax: did you try to simplify your SQL? Maybe so that it is just a plain query. No inner joins, no selection of columns using a dot. Just something like "SELECT boPName1 boPName2 FROM BOP". This is the most simple thing I can imagine and if this does ...
Posted By Daniel Junglas Jul 24, 2020 2:09 AM
Found In Egroup: Decision Optimization
\ view thread
In order to do a Benders decomposition with callbacks you have to dynamically find and add optimality and feasibility cuts. These are linear constraints and from CPLEX's point of view they are lazy constraints. You can take a look at CPLEX > User's Manual for CPLEX > Advanced programming techniques ...
Posted By Daniel Junglas Jul 23, 2020 9:39 AM
Found In Egroup: Decision Optimization
\ view thread
Sorry, I don't have the resources to actually configure and run your example here. But I have these ideas to continue debugging: 1. Could you try to isolate the offending SQL statement? You could mix defining input manually and via database until you hit the blocking point. Maybe one can spot the problem ...
Posted By Daniel Junglas Jul 23, 2020 2:20 AM
Found In Egroup: Decision Optimization
\ view thread
What exactly do you mean by "it does not work"? And what version of CPLEX do you use? When I solve your model with 12.10 here then after half a day the process is not finished but I have feasible solution about 3.3e6 and a gap of 0.85%, which means that the solution is much better than what you report ...
Posted By Daniel Junglas Jul 22, 2020 9:11 AM
Found In Egroup: Decision Optimization
\ view thread
In your OPS file I can see that you set the time limit to 86400 and the dettime limit to 86400 as well. This may result in premature terminate. Again, what is the solution status returned by CPLEX? Are you sure CPLEX claims the solution optimal. Also, given that your model is written in OPL and that ...
Posted By Daniel Junglas Jul 22, 2020 6:41 AM
Found In Egroup: Decision Optimization
\ view thread
Do you set the absolute and relative MIP gap to 0 and all resource limits to infinity? By default absolute and relative MIP gap are not 0. This allows CPLEX to stop with (slightly) non-optimal solutions. If you set a time limit then CPLEX may of course stop with non-optimal solutions. What is the solution ...
Posted By Daniel Junglas Jul 21, 2020 12:24 AM
Found In Egroup: Decision Optimization
\ view thread
You should provide more details about how you implement this. Do you use CPLEX with callbacks? Which callbacks? Did you compare your code with the explicit Benders examples that ship with CPLEX, namely bendersatsp.py and bendersatsp2.py? ------------------------------ Daniel Junglas ---------------- ...
Posted By Daniel Junglas Jul 20, 2020 12:19 AM
Found In Egroup: Decision Optimization
\ view thread
Would a software like polymake do you what you want to do? ------------------------------ Daniel Junglas ------------------------------
Posted By Daniel Junglas Jul 15, 2020 11:55 AM
Found In Egroup: Decision Optimization
\ view thread
If you write "t in Zeitfenster" then t will be a string like "Mo: 0-12Uhr" and you cannot subtract 1 from this string (as in t-1). Things will probably become easier if you define Zeitfenster as a set of strings like so (untested): int ZeitfensterIndex = 1..14; string Zeitfenster[ZeitfensterIndex] = ...
Posted By Daniel Junglas Jul 9, 2020 9:07 AM
Found In Egroup: Decision Optimization
\ view thread
In order to solve a .mod and .dat file from the command line you can use the oplrun command line tool. Using up to 32 threads to solve a problem may indeed give a speedup. ------------------------------ Daniel Junglas ------------------------------