Opened 6 years ago

Closed 6 years ago

#18729 closed defect (duplicate)

Raise error for invalid algorithm in obtain_nash

Reported by: jcampbell Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: game theory Keywords: Game Theory, Normal Form Game, Error
Cc: vinceknight Merged in:
Authors: Reviewers: James Campbell, Karl-Dieter Crisman
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


Currently if someone were to do:

sage: A = matrix([[1, 1, 5], [2, 2, 0]])
sage: g = NormalFormGame([A])
sage: g.obtain_nash(algorithm='garbage')

sage just returns with no error raised. correct output should be:

sage: g.obtain_nash(algorithm='garbage')
Traceback (most recent call last):
ValueError: garbage is not a valid algorithm.

Change History (4)

comment:1 follow-up: Changed 6 years ago by jcampbell

This issue has already been resolved within #18536.

comment:2 Changed 6 years ago by jcampbell

  • Milestone changed from sage-6.8 to sage-duplicate/invalid/wontfix
  • Status changed from new to needs_review

comment:3 in reply to: ↑ 1 Changed 6 years ago by kcrisman

  • Reviewers set to James Campbell, Karl-Dieter Crisman
  • Status changed from needs_review to positive_review

This issue has already been resolved within #18536.


comment:4 Changed 6 years ago by vbraun

  • Resolution set to duplicate
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.