VAr planning using genetic algorithm and linear programming