| |||||||||||
| |||||||||||
|
Folio - Embedding examples from 'Getting started' Description Simple embedding tasks for a portfolio optimization problem:
Source Files By clicking on a file name, a preview is opened at the bottom of this page. Data Files foliorun.java
/********************************************************
Mosel Library Example Problems
==============================
file foliorun.java
``````````````````
Loading and running a BIM file.
(c) 2008 Fair Isaac Corporation
author: S.Heipcke, Mar. 2006
********************************************************/
import com.dashoptimization.*;
public class foliorun
{
public static void main(String[] args) throws Exception
{
XPRM mosel;
XPRMModel mod;
mosel = new XPRM(); // Initialize Mosel
mod = mosel.loadModel("foliodata.bim"); // Load compiled model
mod.run();
System.out.println("`foliodata' returned: " + mod.getResult());
mod.close(); // Unload model
}
}
| |||||||||||
| © Copyright 2025 Fair Isaac Corporation. |