[Scip] Setting Branching Priority with .set file

Jakob Witzig witzig at zib.de
Mon Mar 30 11:48:39 CEST 2015


Hi lotu1,

my first answer was not complete in probably to general. First, set the 
priority of variables through a *.set file is not possible but you can 
change the priority by using the interactive shell after loading your 
problem.

A workaround would be using a "command file", e.g., myCommands.txt. 
Therefore, you use a file with some content like this:

read myFile
set branching priority myVar1 prio1
set branching priority myVar2 prio2
optimize
quit

and you execute SCIP with the command "scip < myCommands.txt"

Best,
Jakob

On 03/30/15 11:01, Jakob Witzig wrote:
> Hi lotu1.
>
> No, it is not possible to specify branching priorities for variables. If
> you want to do this, you have to write your own branching rule, see:
> http://scip.zib.de/doc/html/BRANCH.php.
>
> Best,
> Jakob
>
> On 03/30/15 10:13, lotu1 at gmx.de wrote:
>> is it possible to set branching priorities (set/branching/priority) on
>> variables through a settings file? What is the syntax for this? E.g.
>> this does not work: set/branching/priority/myVar = 5
>> Thanks
>>
>>
>> _______________________________________________
>> Scip mailing list
>> Scip at zib.de
>> http://listserv.zib.de/mailman/listinfo/scip
>>
>
>


-- 
Jakob Witzig

Konrad-Zuse-Zentrum für
Informationstechnik Berlin (ZIB)

Division Mathematical Optimization and Scientific Information
Research Group Mathematical Optimization Methods

Takustrasse 7
14195 Berlin

Tel. : +49 (0)30 84185-416
Fax  : +49 (0)30 84185-269
email: witzig at zib.de


More information about the Scip mailing list