Thé Van find a missing: no evaluation of invalid solution in moILS.h
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1263 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
68f55c1129
commit
10ed630d41
1 changed files with 6 additions and 0 deletions
|
|
@ -157,8 +157,14 @@ class moILS:public moAlgo < typename M::EOType >
|
|||
*/
|
||||
bool operator()(EOT & _solution)
|
||||
{
|
||||
if ( _solution.invalid() )
|
||||
{
|
||||
full_evaluation(_solution);
|
||||
}
|
||||
|
||||
EOT _solution_saved=_solution;
|
||||
|
||||
|
||||
continu.init ();
|
||||
|
||||
// some code has been duplicated in order to avoid one perturbation and one evaluation without adding a test in the loop.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue