The present invention relates to a radiotherapy inverse planning system for a linear accelerator, comprising: - a radiation source configured to deliver individual shots, - at least one data bus system (102), - a memory (106) ) coupled to the data bus system (102), wherein the memory (106) comprises computer usable program code, and - a processing unit (104) coupled to the data bus system (102). The processing unit executes the program code for - pre-calculating a set of individual shots of the shots, - associating a weight with each shot, based on one or more constraints. In addition, the processing unit (104) executes the program code to find the minimum number of nonzero weights to satisfy the constraint (s).
展开▼