perform calculations on problemInstance-objects depending on argument type
problemInstance
type
Useful links