João Rui Leal

Results 24 comments of João Rui Leal

Yes, a pull request would be great. Travis also supports windows now, we can add it to the platforms being tested.

In CppADCodegen, conditionals are converted into if/else statement in the generated source code. Consequently, even if you need to tape both sides, only one of the sides of the if...

Hello Ruslan, This is not implemented yet. This would have to be done in[ ModelCSourceGen::generateReverseTwoSources()](https://github.com/joaoleal/CppADCodeGen/blob/788d2ccf87e6ad855b1efadb60e7cadaf7869acf/include/cppad/cg/model/model_c_source_gen_rev2.hpp#L273). There is an explicit check for this in the generated code.

Hello, At the moment there is no page explicitly for Eigen in the [wiki](https://github.com/joaoleal/CppADCodeGen/wiki). There really isn't anything special regarding the use of CppADCodeGen with Eigen with the exception that...

Hello, Before starting to change/extend CppADCodeGen (which would still lead to extremely long compilation times) I would suggest looking for opportunities to reduce the size of the generated code for...

@bradbell support is typically limited to weekends ;)

Hi, You can create loops with CppADCodeGen. Unfortunately, they cannot be defined explicitly. CppADCodeGen can, however, attempt to detect these loops (and reuse temporary variables) if you provide some hints...

Hello Andy, From what I can see from CppAD's support for [Ipopt](https://github.com/coin-or/CppAD/tree/master/include/cppad/ipopt) this would require a re-implementation for CppADCodeGen since CppAD uses AD::ADFun and CppADCodeGen uses different types and requires...

There is an example that creates a model for a Lagrangian here: https://github.com/joaoleal/CppADCodeGen/blob/master/example/lagrangian.cpp I would, however, not do it like this. Nevertheless, it can be used as a starting point....

Hello, It is possible to `CppAD::Value()` and `Var2Par()` to retrieve the `CG` and then `CG::getValue()` to retrive the value (which can throw an exception if the value is not defined)....