The Raptors’ season ended Sunday when they were swept by the Cavaliers in the Eastern Conference semifinals. Toronto has been to the playoffs four times since Masai Ujiri started heading up basketball operations, being ousted twice in the first round, once in the second round and last year in the conference finals.

But something has to give. The Raptors, who signed shooting guard DeMar DeRozan to a five-year, $130 million deal last summer, need to do some creative cutting to bring back Kyle Lowry and Serge Ibaka and avoid exceeded the cap.

But the question is do the Raptors want to move forward with both players on their roster, or even one? And if not, or if either decides to move on, could Heat president Pat Riley and GM Andy Elisburg make a play for either?

The Vertical ranks Lowry, 31, as the third best point guard on the market this summer behind Golden State’s Stephen Curry and the Clippers’ Chris Paul, and it has Ibaka, 27, as the third-best power forward behind Atlanta’s Paul Millsap and the Clippers’ Blake Griffin.

Lowry has a player option for $12 million next season but confirmed to reporters today he will decline that option to become a free agent. Toronto can offer Lowry a five-year contract for about $205 million. If he leaves, he can sign for a max of four-years and about $158 million. Either way, his contract would start at about $36 million.

But the Heat have Goran Dragic under contract for three more seasons, the last being a player option. And Dragic’s $17 million price tag for 2017-18 is a bargain considering the marketplace. Miami would have to determine Lowry (or Paul for that matter) would be worth playing twice as much as what Dragic is making, and then find a way to deal Dragic, to make a run at one of the elite point guards.

Right now, the Heat are happy with Dragic and unless he is included in a blockbuster deal, Miami is not in the market for a point guard.

Ibaka’s situation, though, is more interesting. Although Ibaka has played for three teams in the last year – being traded from OKC to Orlando last June and from the Magic to Raptors in February – the 6-foot-10 power forward is expected to command around $20 million a year.

Ibaka averaged 14.8 points and 6.8 rebounds between Orlando and Toronto this season. Although his numbers were slightly lower in the playoffs – 14.3 points, 6.5 rebounds – he was not impressive in the postseason.

The Heat’s need for a quality power forward depends on if they can retain James Johnson. Miami has expressed a desire to bring back the 30-year-old Johnson, who had a breakout year after signing a one-year contract with Miami last summer, and he will come in at a much lower price than Ibaka.

But if Johnson receives an overwhelming offer the Heat decide is more than they are willing to pay, Ibaka could be in play for Miami this summer.