The behavior of type-II superconductors is modeled using the time-dependent Ginzburg Landau equations (TDGLE). Pinning centers (inclusions) and geometries which maximize the critical current that can be passed through a superconductor are numerically obtained. Previous analytical results are summarized and new results are obtained for the critical current in one...