Residual drift of structural systems after seismic events can make buildings uninhabitable and may cause their collapse in aftershocks, as seen in the 2023 Turkey-Syria earthquake. Self-centering rocking-core systems can eliminate plastic deformation of structures after earthquakes. In the current study, a bi-rocking steel-braced frame was designed using the modified modal superposition (MMS) method. The optimal location of the secondary joint was found to minimize the base shear, overturning moment, peak floor acceleration and inter-story drift. Damage to non-structural components has been considered. The models included 12-, 18- and 24- story frames that were subjected to far-field (FF), near-field-pulse (NP) and near-field-no-pulse (N) ground motion records. The seismic records were scaled to the maximum credible earthquake level. Nonlinear time-history analyses were performed using OpenSees open-source finite element software. Additionally, post-tensioned cables and energy dissipation fuses as variable parameters were optimized using particle swarm optimization. The performance of seven metaheuristic algorithms was compared and the results showed that placing the secondary joint at the mid-height of the structure reduced all seismic demand. The results also suggest that the story moment and FF records were most sensitive to the location of the secondary joint. It was observed that frames with lower stiffness and yield strength of the damper exhibited better seismic performance. Based on this, corrective percentages have been proposed for the design of the cable and dampers. A self-centering ratio of 1.07 was suggested at the mid-height and 1.19 for the base damper. The colliding bodies optimization algorithm performed best for time-history analysis-based optimization.