Notes on soliton bound state problems in gauge theory and string theory