Created
July 24, 2015 18:20
-
-
Save vitaut/b587e547196c37d51c64 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "asl.h" | |
int main() { | |
ASL *asl = ASL_alloc(ASL_read_fg); | |
FILE *f = jac0dim("test.nl", 0); | |
fg_read(f, 0); | |
fint ne = 0; | |
double x[] = { 0, 0 }; | |
double objval = asl->p.Objval(asl, 0, x, &ne); | |
printf("%g %d\n", objval, ne); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment