In this paper, we propose an approach for computing suboptimal grasps of polyhedral objects. Assuming n hard-finger contact with Coulomb friction model and based on central axes of the grasp wrench, we develop a new necessary and sufficient condition for n-finger grasps to achieve force-closure property. Accordingly, we reformulate the proposed force-closure test as a new linear programming problem, which we solve using an interior point method. Furthermore, we present an approach for finding appropriate stable grasps for a robotic hand on arbitrary objects. We use the simulated annealing technique for synthesizing suboptimal grasps of 3D objects. Through numerical simulations on arbitrary shaped objects, we show that the proposed approach is able to compute good grasps for multifingered hands within a reasonable computational time.