Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arg_max for 2d arrays? #209

Open
artsiomkaltovich opened this issue Dec 20, 2024 · 0 comments
Open

arg_max for 2d arrays? #209

artsiomkaltovich opened this issue Dec 20, 2024 · 0 comments

Comments

@artsiomkaltovich
Copy link

First of all, I apologize if this should be an issue for the libminizinc project or if it shouldn’t be an issue at all.

What does $$E mean in the following code?

function $$E: arg_max(array [$$E] of bool: x)
function $$E: arg_max(array [$$E] of int: x)
function $$E: arg_max(array [$$E] of float: x)

Is it possible to use arg_max for 2D arrays or arrays with higher dimensions? Could you provide a working example of how to use it?

Thank you in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant