Effective algorithms for optimal portfolio deleveraging problem with cross impact