/*Implementation of PStep_ColumnGenerator.h

It contains the member functions of PStep_ColumnGenerator10

*/

#include "PStep_ColumnGenerator.h"

//PStep_ColumnGenerator10:
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

//Generate columns
//------------------------------------------------------------------------------------

//Apply local search first, if it fails, apply column generator 9.
void PStep_ColumnGenerator10::GenerateColumns(){

	//Obtain the number of p-steps currently added
	int NumberOfCurrentPStepsBefore = AlgorithmMembers.NumberOfCurrentPSteps;

	//Apply column generator 2, local search.
	GenerateColumns2();

	//Check if p-steps are added
	if (AlgorithmMembers.NumberOfCurrentPSteps == NumberOfCurrentPStepsBefore){

		//Use the column generation algorithm 9
		PStep_ColumnGenerator9::GenerateColumns();

	}

}