add three cases in bilinear.py and bilinear_solver.py