| |||||||||||||||||
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 folioexec.bas Attribute VB_Name = "Module1" Option Explicit ' ******************************************************** ' Mosel Library Example Problems ' ============================== ' file folioexec.bas ' `````````````````` ' Executing a Mosel model. ' ' (c) 2008 Fair Isaac Corporation ' author: S.Heipcke, Aug. 2003 ' ******************************************************** Sub Main() Dim result As Long Dim model ' Initialize Mosel XPRMinit ' Execute = compile/load/run a model XPRMexecmod "", "foliodata.mos", "", result, model XPRMunloadmod (model) model = XPRM_NULL End Sub | |||||||||||||||||
© Copyright 2023 Fair Isaac Corporation. |