Maximize the net profit/day based on cargo mix optimization subject to several hard constraints. Cargoes, voyage, ship data and the value of variables such as lay can terms, idle days cost, fuel consumption cost (foc), foc versus speed diagram are given.