<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">
<div dir="auto">Hi, <br />
<br />
For this I would add a prefix in the name of the pricing variables to later check where they came from. You could also keep a hash map of the variable ids to the pricing problem id in your pricer data, but maybe you need this information outside the pricer, then probably prepending the name is easier.<br />
<br />
Hope this helps. <br />
<br />
Best, <br />
Mo</div>
</div>
<div name="messageReplySection">On Jan 12, 2025 at 7:38 AM +0100, 杨瑞光 <yrgys@foxmail.com>, wrote:<br />
<blockquote type="cite" style="border-left-color: grey; border-left-width: thin; border-left-style: solid; margin: 5px 5px;padding-left: 10px;">
<div>Hi,</div>
<div><br /></div>
<div>everyone,</div>
<div><br /></div>
<div>I'm working on a variant problem of VRP based on the VRP example coded in C++ given on the SCIP website. I try to implement a branch-and-price algorithm for my problem. But, in my problem, I need to solve two different pricing subproblems for the same RMP (Restricted Master Problem). And these two pricing subproblems will produce two different types of pricing variables for the RMP. And I don't know how to identify which type of variables the algorithm adds to the RMP. May I ask how I can handle this problem?</div>
<div><br /></div>
<div>Thanks a lot!</div>
<div><br /></div>
<div>Best wishes</div>
_______________________________________________<br />
Scip mailing list<br />
Scip@zib.de<br />
https://listserv.zib.de/mailman/listinfo/scip<br /></blockquote>
</div>
</body>
</html>