This document presents a new artificial intelligence algorithm called the artificial corona-inspired optimization algorithm. The algorithm is inspired by how the corona virus spreads through a population and infects individuals. It simulates the stages of virus transmission and treatment to guide the selection of starting points and parameters for optimization problems. The algorithm does not require derivative information and has few parameters to set. Numerical examples are provided to demonstrate the algorithm's performance in finding optimal solutions to linear and nonlinear optimization problems within a reasonable time frame. The algorithm shows potential as a new approach for solving mathematical programming problems.