| |||||||||||
| |||||||||||
|
Basic embedding tasks Description
Source Files By clicking on a file name, a preview is opened at the bottom of this page. Data Files ugrun.c
/*******************************************************
Mosel User Guide Example Problems
=================================
file ugrun.c
````````````
Executing a BIM file.
(c) 2008 Fair Isaac Corporation
author: S. Heipcke, 2001
********************************************************/
#include <stdio.h>
#include "xprm_rt.h"
int main()
{
XPRMmodel mod;
int result;
if(XPRMinit()) /* Initialize Mosel */
return 1;
if((mod=XPRMloadmod("burglar2.bim",NULL))==NULL) /* Load a BIM file */
return 2;
if(XPRMrunmod(mod,&result,NULL)) /* Run the model */
return 3;
return 0;
}
| |||||||||||
| © Copyright 2025 Fair Isaac Corporation. |