Large government debt negatively impacts long-term economic growth and the debt-to-gross domestic product (GDP) ratio is an important indicator of a country’s financial leverage. Financial mathematicians propose a mathematical model that helps optimize and control the debt-to-GDP ratio.