We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Requires installation of ccache
ccache
from casadi import * x = MX.sym("x") options = {"jit":True,"compiler":"shell","jit_temp_suffix":False} options["jit_options"] = {"compiler": "ccache gcc", "verbose":True} solver = nlpsol("solver","ipopt",{"x":x,"f":x**2,"g":x},options) solver()
You can use ccache --show-stats to validate that you are indeed benefitting from "cache hits"
ccache --show-stats