Results 1 issues of siyahkut

Generally i saw there is minimizing cost example. Are there any maximizing cost (target) example? Or which function i have to override for that? thanks in advance