Modeling nearby FGK Population I stars: A new form of estimating stellar parameters using an optimization approach