The Terminal-Oriented Ship Stowage Planning Problem