This document describes software developed to optimize ship scantling values through an automated process. The software takes minimum and maximum scantling values as input, generates combinations of values, evaluates each combination's strength and cost, and identifies the best combination that meets strength requirements at the lowest material cost. It was tested on a sample 174m ship and found combinations that saved over 16 million rupees by choosing optimized scantling values. The software uses branch and bound and backtracking algorithms and could potentially be expanded to optimize designs for entire ships.