Learning and Optimization of Blackbox Combinatorial Solvers in Neural Networks