Skip to content

Gurobi: Add missing TAN operation code in nonlinear expressions#263

Merged
glebbelov merged 1 commit intoampl:developfrom
pobonomo:gurobi_tan_opcode
May 1, 2025
Merged

Gurobi: Add missing TAN operation code in nonlinear expressions#263
glebbelov merged 1 commit intoampl:developfrom
pobonomo:gurobi_tan_opcode

Conversation

@pobonomo
Copy link
Contributor

Hello!

When looking at the code, I noticed that Tan was probably missing in the Gurobi driver?

I tested the change on a few cute models that were indeed not correctly converted (yfit, yfitu, cragglvy)

Other trigonometric operations are there but tan was probably overlooked.
@glebbelov
Copy link
Contributor

Hi,

We must have thought on SCIP which has no Tan.

What are the models (yfit, yfitu, cragglvy)?

@glebbelov glebbelov merged commit 5c82468 into ampl:develop May 1, 2025
@pobonomo
Copy link
Contributor Author

pobonomo commented May 1, 2025

What are the models (yfit, yfitu, cragglvy)?

Sorry I misread the question probably.

Those are from the CUTE set there are models there: https://vanderbei.princeton.edu/ampl/nlmodels/cute/index.html

@glebbelov
Copy link
Contributor

glebbelov commented May 2, 2025

Thank you, I thought the models were in a Gurobi format (don't know all instances in CUTE - thank you for reminding)

BTW the update is released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants