-
Notifications
You must be signed in to change notification settings - Fork 9
[General] Visite ANL #513
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
Comments
x_l = [0, -1, 0] # lower bound for all x(t_i)
x_u = [1, 2, 0] # upper bound for all x(t_i)
ExaModels.variable(x, 3, 0:grid_size; lvar = [x_l[i] for (i, j) = Base.product(1:3, 0:grid_size)], uvar = [x_u[i] for (i, j) = Base.product(1:3, 0:grid_size)]) that builds the whole array (the copies it from CPU to GPU), write that: ExaModels.variable(x, 3, 0:grid_size; lvar = x_l, uvar = x_u) |
Reminder for May 15, 2025:
|
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@amontoison To be discussed:
x
an(1:n, 0:N)
array, u an(1:m, 0:N)
array for time discretisation of vector valued functionsto be tested soon(see benchmarking above)The text was updated successfully, but these errors were encountered: