If you think something up, for example an idea or plan, you invent it using mental effort.
Julian has been thinking up new ways of raising money...
‘Where do you get that idea about the piano?’—‘Well, I just thought it up.’
PHRASAL VERB: V P n (not pron), V n P