An optimization approach for intracavitary source loading using a mini-computer