<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">The only commercial solver that has these methods is SAS. Look for the DECOMP option. <div><br></div><div>Cheers, </div><div>Matt </div><div><br id="lineBreakAtBeginningOfSignature"><div dir="ltr">Sent from my iPhone</div><div dir="ltr"><br><blockquote type="cite">On Feb 8, 2024, at 4:26 AM, Katrin Halbig <katrin.halbig@fau.de> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Dear Abbas,<br>
<br>
To use decompositions, it is best to first write a *.dec file and
then read it into Scip. You can write the *.dec file manually or use
gcg to automatically create a decomposition and write it out to a
*.dec file.<br>
This file is read in the same way as the problem itself. On the
command line enter "read path/to/problem read
path/to/decomposition.dec optimize".<br>
In pyscipopt:<br>
m = Model()<br>
m.readProblem("path/to/problem")<br>
m.readProblem("path/to/decomposition.dec")<br>
<br>
There are several plugins that (can) use such a decomposition, for
example, heur_gins, heur_dps, heur_padm, and the benders framework.
Switch on the heuristics by setting the corresponding parameters,
for example, m.setParam('heuristics/dps/freq', 0).<br>
It's not always efficiently to use these methods, but just try it.<br>
<br>
Independent from a decomposition is the cons_component presolver.
This method detects on its own whether the problem is split into
independent components and treats them separately. But since you
mentioned that you have linking constraints and variables, your
problem is probably connected.<br>
I don't know what commercial solvers do, but I would strongly assume
that they also use methods like cons_components.<br>
<br>
Best,<br>
Katrin<br>
<br>
<div class="moz-cite-prefix">Am 05.02.24 um 12:48 schrieb Abbas
Omidi:<br>
</div>
<blockquote type="cite" cite="mid:CAE97mTXqUAAVSpR2b+P_ZHqJkVo=CodikBki8v_VNTA4Mdy6hA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr"><font style="background-color:rgb(255,255,255)" face="arial, sans-serif" color="#000000">Dear Alexander,</font>
<div><font style="background-color:rgb(255,255,255)" face="arial, sans-serif" color="#000000"><br>
</font></div>
<div><font style="background-color:rgb(255,255,255)" face="arial, sans-serif" color="#000000">Thank you so much
for your quick response. </font></div>
<div><font style="background-color:rgb(255,255,255)" face="arial, sans-serif" color="#000000">Please, let me
explain more about what I meant.</font></div>
<div><font style="background-color:rgb(255,255,255)" face="arial, sans-serif" color="#000000"><br>
</font></div>
<div><font style="background-color:rgb(255,255,255)" face="arial, sans-serif" color="#000000">I am currently
working on a scheduling problem and its structures, indeed
from the modeling point of view, to investigate how a
standard MIP solver like SCIP or Gurobi can solve this
problem efficiently.</font></div>
<div><font style="background-color:rgb(255,255,255)" face="arial, sans-serif" color="#000000">For that, I am
using GCG, actually PyGCGopt, to analyze these problems.
In my previous email, I asked about some parameters at GCG
that seed up the solving process, and the comment by
Prof. Lübbecke was really helpful. </font></div>
<div><font style="background-color:rgb(255,255,255)" face="arial, sans-serif" color="#000000"><br>
</font></div>
<div><font style="background-color:rgb(255,255,255)" face="arial, sans-serif" color="#000000">Now, at
the moment I do not need to use/implement this method
manually and I think everything can be done automatically.
Also, on the other hand, I am not aware of that the SCIP
has a tool that applies <a class="el" href="https://www.scipopt.org/doc-8.0.2/html/cons__components_8c.php" style="box-sizing:border-box;background-image:initial;background-position:0px
0px;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;text-decoration-line:underline;outline:0px" moz-do-not-send="true">cons_components</a> as a
successful presolving technique. By that, my questions
are:</font></div>
<div><font style="background-color:rgb(255,255,255)" face="arial, sans-serif" color="#000000"><br>
</font></div>
<div><font style="background-color:rgb(255,255,255)" face="arial, sans-serif" color="#000000">1) Is it possible
to employ the mentioned decomposition by using the
command line? (e.g. read problem -> set this method
-> optimize)</font></div>
<div><font style="background-color:rgb(255,255,255)" face="arial, sans-serif" color="#000000">2) Is there any
Python implementation, PySCIPopt, that shows how we can
use this method? (unfortunately, I do not have more
experience with C/C++)</font></div>
<div><font style="background-color:rgb(255,255,255)" face="arial, sans-serif" color="#000000">3) Based on the
mentioned "successful presolving technique", can we infer
that commercial solvers like Gurobi and CPLEX have gained
from such techniques under a hood?</font></div>
<div><font style="background-color:rgb(255,255,255)" face="arial, sans-serif" color="#000000"><br>
</font></div>
<div><font style="background-color:rgb(255,255,255)" face="arial, sans-serif" color="#000000">Best regards</font></div>
<div><font style="background-color:rgb(255,255,255)" face="arial, sans-serif" color="#000000">Abbas</font></div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Feb 5, 2024 at
2:09 PM Hoen, Alexander <<a href="mailto:hoen@zib.de" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">hoen@zib.de</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>
<div id="m_-89375102679366714m_2434439602759906148divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Hi Abbas,<br>
</p>
<p><br>
</p>
<p>SCIP allows the user to provide a problem
decomposition. Section 4.2 in the SCIP 7 Release
report describes how SCIP uses the decomposition.<br>
<br>
On <a href="https://www.scipopt.org/doc-8.0.2/html/DECOMP.php" id="m_-89375102679366714m_2434439602759906148LPlnk74537" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://www.scipopt.org/doc-8.0.2/html/DECOMP.php</a> there
is an explanation of how to provide such a
decomposition.<br>
<br>
Best,</p>
<p>Alex</p>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_-89375102679366714m_2434439602759906148divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri,
sans-serif" color="#000000"><b>From:</b> Scip <<a href="mailto:scip-bounces@zib.de" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">scip-bounces@zib.de</a>>
on behalf of Abbas Omidi <<a href="mailto:abb.omidi@gmail.com" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">abb.omidi@gmail.com</a>><br>
<b>Sent:</b> Monday, February 5, 2024 10:49:50 AM<br>
<b>To:</b> <a href="mailto:scip@zib.de" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">scip@zib.de</a><br>
<b>Subject:</b> [SCIP] Dealing with a problem that
contains a specific structure with a standard MILP
solver</font>
<div> </div>
</div>
<div>
<div dir="ltr"><font style="background-color:rgb(255,255,255)" face="arial, sans-serif" color="#000000">Dear
support team,<br>
</font>
<div><br>
</div>
<div><font style="background-color:rgb(255,255,255)" face="arial, sans-serif" color="#000000">Suppose
we have a specific formulation which contains a
particular structure. For example, the formulation
contains a block diagonal format with some linking
constraints or variables. </font></div>
<div><font style="background-color:rgb(255,255,255)" face="arial, sans-serif" color="#000000"><br>
</font></div>
<div><font style="background-color:rgb(255,255,255)" face="arial, sans-serif" color="#000000">As far as
I know, this format would be suitable for the
decomposition scheme. Now, I am interested to know
if is there any benefit to using this special
structure with a standard MILP solver line SCIP or
Gurobi.<br>
</font></div>
<div><span style="background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000"><br>
</font></span></div>
<div><span style="background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">All
the best</font></span></div>
<div><span style="background-color:rgb(255,255,255)"><font face="arial, sans-serif" color="#000000">Abbas</font></span></div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Scip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Scip@zib.de">Scip@zib.de</a>
<a class="moz-txt-link-freetext" href="https://listserv.zib.de/mailman/listinfo/scip">https://listserv.zib.de/mailman/listinfo/scip</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Katrin Halbig, FAU Erlangen-Nürnberg, Analytics & Mixed-Integer Optimization, Tel. +49 9131 85-67179</pre>
<span>_______________________________________________</span><br><span>Scip mailing list</span><br><span>Scip@zib.de</span><br><span>https://listserv.zib.de/mailman/listinfo/scip</span><br></div></blockquote></div></body></html>