Tekstiviesti: Cost and optimization engineering