Skip to content

Accept rational-precision mixed profiles for liap_solve #721

Closed

Description

@rahulsavani

Requested enahancement or feature

At the moment liap_solve expects the strategy profile passed to be of float (double) precision (MixedStrategyProfileDouble). It would be good to allow a rational-precision profile too, converting it to a double profile internally within the solver function call.

This is completely analogous to issue #458 which is for logit_estimate.

Activity

  1. changed the title [-]Accept rational-precision mixed profiles for logit_estimate[/-] [+]Accept rational-precision mixed profiles for `liap_solve`[/+] on Aug 6, 2026
  2. tturocy commented on Aug 6, 2026

    @tturocy
    Member

    @rahulsavani What would your view be on adding a .as_double() conversion to the mixed (strategy|behavior) profile instead? This would make it straightforward to convert, but require the user to convert.

    Of course that is not mutually exclusive to accepting any profile as a convenience.

  3. added this to the gambit-17.0.0.beta.1 milestone on Aug 16, 2026
  4. rahulsavani commented on Aug 23, 2026

    @rahulsavani
    MemberAuthor

    Within reason I support convenience, so tend to think we should do both, adding the conversion to the profile, and allowing any profile in the solvers as a convenience.

  5. added a commit that references this issue on Aug 27, 2026
    7cdf576
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions