<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Geoffrey,<br><br><span id="result_box" class="long_text"><span title="mi spiace ma non ho avuto tempo per trovare una soluzione stabile per la diversificazione, devo concludere la tesi entro aprile e non ho molto tempo.">I'm
sorry but I have not had time to find a stable solution for
diversification, I must conclude my thesis by April and I have not
much time. </span><span title="Per ora ho risolto calcolando un valore di penalità all'interno della mossa.">For now I solved by calculating a value of penality in the move. </span><span title="Ma dopo la laurea sarò ben felice di provare ad affrontare il problema in un modo più efficiente.">But after graduation I will be happy to try to tackle the problem in a more efficient way :-)<br><br></span></span>Doing a bit of debugging I noticed that either do not exclude the right moves.<span id="result_box" class="short_text"><span style="background-color: rgb(235, 239, 249);" title="facendo un pò di debug ho notato che o non escludo le mosse giuste."></span></span><span id="result_box" class="medium_text"><span style="background-color: rgb(255, 255, 255);" title="mi spiace ma non ho avuto tempo per trovare una soluzione stabile per la diversificazione, devo concludere la tesi entro aprile e non ho molto tempo."><br><br></span></span><span id="result_box"
 class="long_text"><span title="cerco di spiegarti meglio il mio problema.">I try to explain better my problem. </span><span title="Ho M veicoli e ognuno ha un suo id (0 ,M-1).">I have M vehicles and each has its own id (0, M-1). </span><span title="Ho N customer e ognuno di questi ha il suo id.">I have N customer and each of them has its own id (0,N-1). </span><span title="Gli id sono dei valori interi.">IDs are integer values.<br><br></span><span title="Una mossa è identificata univocamente da una tripla di interi : l'id del customer, l'id del veicolo sorgente e l'id del veicolo di destinazione.">A
move is uniquely identified by a triple of integers: the id of the
customer, the id of the source vehicle and the id of the target vehicle.<br></span><span title="( customer_id, source_route_id, destination_route_id)"><br>(Customer_id, source_route_id, destination_route_id)<br><br></span><span title="quando faccio questa mossa vorrei considerare tabu tutte le mosse che riportano quel customer all'interno del veicolo sorgente.">when I make this move I would consider taboo all the moves that report the customer in the source vehicle.<br><br></span><span title="Se per esempoi ho 5 veicoli e 20 customer una mossa potrebbe essere :">If for example I have 5 vehicles and 20 customer a move could be:<br></span><span title="(6,0,1)">(6,0,1)<br></span><span title="così vorrei evitare tutte le mosse di ritorno, cioè:">so I would avoid all the moves of return, namely:<br></span><span title="(6,1,0);(6,2,0);(6,3,0);(6,4,0);">(6,1,0), (6,2,0), (6,3,0), (6,4,0);<br><br><br></span><span title="Ho provato a fare come mi hai
 consigliato tu (sempre se ho capito bene!!!)">I tried to do as you have suggested me (again if I understood correctly!)<br><br>&nbsp;</span><span title="public Collection&lt;?">public Collection &lt;? </span><span title="extends Object&gt; getTabuProperties() {">extends Object&gt; getTabuProperties () (<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span title="return Arrays.&lt;Integer&gt;asList(customer_id, source_route_id);">return Arrays. &lt;Integer&gt; asList (customer_id, source_route_id);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span title="}">)<br></span><span title="solo che in questo modo mi esclude tutte le mosse che coinvolgono il customer e il veicolo sorgente anche se presi separatamente.">Only in this way excludes me all the moves that involve the customer and the vehicle source even if taken separately.<br></span><span title="Es: mi esculde anche le mosse (6,1,4) oppure (7,0,3)">Ex: I esculde also draws (6,1,4) or
 (7,0,3)</span></span><br><br>Thank you from now for all the help you gave me already.<br><br>regards,<br>Marco</td></tr></table><br>