Conflict set

72 views
Skip to first unread message

Semih Özdamar

unread,
Dec 25, 2018, 3:46:24 AM12/25/18
to OPTANO Modeling
Can I see the “conflict set” after solving optimization model with ciplex solver in optano? Is it possible? Or how is possible?

ORCONOMY Team

unread,
Dec 25, 2018, 6:17:59 AM12/25/18
to OPTANO Modeling
Sure. That is quite easy. Please find all the details in the documentation: http://docs.optano.net/modeling/current/userDoc/advanced/conflicting_set.html

Also there is additional aid, if the model is not perfect yet: http://docs.optano.net/modeling/current/userDoc/advanced_examples.html#analyzing-the-model

Best,
jp

Semih Özdamar

unread,
Dec 25, 2018, 7:19:06 AM12/25/18
to OPTANO Modeling
Well http://docs.optano.net/modeling/current/userDoc/advanced/conflicting_set.html this example based on a Gurobi Solver. But my solver is Cplex Solver. Model infeasible but confilict set is null

Conflict set null.png

ORCONOMY Team

unread,
Dec 25, 2018, 9:57:52 AM12/25/18
to OPTANO Modeling
You're absolutely right. The cplex support for conflicting sets has not been activated in Modeling.
I'll have the developers take a look at it and check if we can add it quickly.

We'll, it's holiday time here. I'll check with the remaining crew. Please allow us a few days.

Thanks for your help. I'll get back to you as soon as possible.

Semih Özdamar

unread,
Dec 25, 2018, 10:34:45 AM12/25/18
to OPTANO Modeling
I will be ver glad. I look forward it. :)

Semih Özdamar

unread,
Jan 10, 2019, 1:17:33 PM1/10/19
to OPTANO Modeling
Have you made any progress?

ORCONOMY Team

unread,
Jan 10, 2019, 4:20:57 PM1/10/19
to OPTANO Modeling
Hi,

thanks for getting back. We have made use of the holidays and created a prototype using the cplex constraint refiner.
But we are not happy with the performance yet, it requires to re-load the matrix which will fail with very large objects.

We have not decided, wether we release the prototype as an alpha release or tune it to ou contentment before release it.
I'll keep you updated.

Best,
jp

Semih Özdamar

unread,
Jan 10, 2019, 11:11:57 PM1/10/19
to OPTANO Modeling
Hi, thanks for your interest.

I'm working on large-scale problems. I'm very glad to Optano and cplex. It's very successful and fast to solve these large scale problems. 

Previously I was using cplex optimization studio but now using only Optano. Because in my opinion Optano is more useful, user friendly and has more advantageous. 

So you know, how important to show "conflict sets", especially about large scale problems. Therefore I look forward to hearing from you. I'm sure you'll make the best solution.

Yours sincerely.

ORCONOMY Team

unread,
Jan 14, 2019, 9:08:55 AM1/14/19
to OPTANO Modeling
Hi,

we just updated nuget with Modeling Version 2.14.0-pre.

It features a ComputeIIS Parameter for Cplex 12.8.

Please test it thoroughly. We'd really appreciate your feedback.

Best,
jp

Semih Özdamar

unread,
Jan 14, 2019, 9:41:27 AM1/14/19
to OPTANO Modeling
Thank you very much. Very nice to hear from you. But my cplex version is 12.6. :(. If you deploy with 12.6 I will be very glad. But if is not, I'll have to get a new version of 12.8. What do you suggest?

ORCONOMY Team

unread,
Jan 14, 2019, 5:18:44 PM1/14/19
to OPTANO Modeling
Well, cplex has improved a lot from Version 12.6 to 12.8. You might consider an update.

Anyway, please find the extended cplex 12.6 and 12.7 adapter in the newly release nuget 2.14.0.428-pre2.
This version supports ComputeIIS for both of the older versions.

Best,
jp

Semih Özdamar

unread,
Jan 14, 2019, 11:35:59 PM1/14/19
to OPTANO Modeling
Thank you very much. I will use it as soon as possible and back to you.

Regards best.

Semih Özdamar

unread,
Jan 15, 2019, 3:05:29 AM1/15/19
to OPTANO Modeling


Hi, I have just setup Cplex 12.8 and changed my projects dlls (ILOG.Concert and ILOG.CPLEX). But now there is a big problem (because now there is any solution) like picture below. Please help me.


Hata2.png



ORCONOMY Team

unread,
Jan 15, 2019, 5:16:19 AM1/15/19
to OPTANO Modeling
Would you kindly step further (one line of code), to have the exception ex set?
I can not see, what exception throws.

I'd assume you have missed to copy cplex1280.dll or have not set up the path environment variable correctly (if you have used the cplex installer, have you restartet the system?)

Best,
jp
Message has been deleted
Message has been deleted

ORCONOMY Team

unread,
Jan 15, 2019, 6:43:33 AM1/15/19
to OPTANO Modeling

Sir, would you kindly put your break point in line 1353. I am pretty sure, we will not fix this issue without reading the exception.

 

Regarding step 2: I remember visual studio to require checks in front of the references. it holds the list of recent references, but will only use checked ones. The references need to appear in the solutions explorer, in the project and its folder "references"

 

Thanks.

Semih Özdamar

unread,
Jan 15, 2019, 6:51:37 AM1/15/19
to OPTANO Modeling
1. break point in line 1353

7_ex.png


Message has been deleted

ORCONOMY Team

unread,
Jan 15, 2019, 7:09:13 AM1/15/19
to OPTANO Modeling
Hi,

is this turkish? mine is pretty poor.
8007000B is usually a bad image exception (https://duckduckgo.com/?q=cplex+8007000B&ia=qa)



Semih Özdamar

unread,
Jan 15, 2019, 8:22:00 AM1/15/19
to OPTANO Modeling
Yes, it's Turkish. :)

I use n-tier architecture. So there are multiple projects in the Solution VS. I selected both x64 and x86 one by one according to the documentation but the same exception ("Bad Image") problem still continue. :(

ORCONOMY Team

unread,
Jan 15, 2019, 8:31:20 AM1/15/19
to OPTANO Modeling
Hi,

the most important project is the one, that is started ("Set as startup project").
I assume it should be x64.
Using cplex 12.6 your configuration was correct. Maybe you have just choosen the wrong cplex files?
Plz double check, that the cplex1280.dll is also x64 (there are diffent folders with x86 and x64 files).

Best,
jp

Semih Özdamar

unread,
Jan 15, 2019, 9:45:25 AM1/15/19
to OPTANO Modeling
Hi, would you try to solve a solution ( https://drive.google.com/open?id=1siNZ9Uz40HEFNhv3l6QMcUDQwIEZvdEp ). There are 2 tier. 

1 is MvcWebUI and the other is Optimization tier.

UI tier references Optimization tier.


I want to start with Mvc. Then run Home/Index action and solve this problem. 

(But I have still Bad Image Exception.)

Could you help me?



Semih Özdamar

unread,
Jan 15, 2019, 11:40:26 AM1/15/19
to OPTANO Modeling
Hi, I have found the exactly problem and the solution. 
Cplex 12.8 x64 based. 
MVC project is x86 based by default. 

So if you run cplex with Mvc project you have to change IIS settings from Visual Studio.

Thanks a lot. I saw the conflict set in your short example. Now I will test it in my project and bact to you.

Regards best.

ORCONOMY Team

unread,
Jan 15, 2019, 11:59:21 AM1/15/19
to OPTANO Modeling
sweet. well done.

Semih Özdamar

unread,
Jan 18, 2019, 10:42:06 PM1/18/19
to OPTANO Modeling
Hi, 

I have implemented conflicting sets in my project with using cplex 12.8. 

I have never problem so far.

By the way I had no problem with performance.


Thank you very much Optano. :)


Best wishes.

ORCONOMY Team

unread,
Jan 31, 2019, 1:36:38 PM1/31/19
to OPTANO Modeling
We have released the RC Version of 2.14.0. the ComputeIIS code has been improved and calculates which Bound (upper or lower) is part of the conflict:

Best,
jp
Reply all
Reply to author
Forward
0 new messages