⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 objective.h

📁 在linux下面实现的单纯性算法的源代码
💻 H
字号:
//objective.h//this example file declares the functions and variable n as required//by the search implementations//simple definitions for certain parameters may be given here as well.#if !defined _userfile_#define _userfile_#include <malloc.h>double getInitialStep();void fcn(int , double *, double & , int & );void initpt(int , double *&);extern int n;//extern double tolerance;extern bool newInitialPoint;extern char Fname[120];/* Initial trial step length, reflecting the refinement of the search lattice */#define initialStepLength 2.0 /*getInitialStep()*//*  The search will halt if the trial step length is less than  *  or equal to the stoppingStepLength after a reduction of the  *  trial step length. */ //#define stoppingStepLength tolerance/*  The maxCalls variable is not a hard limit on the number of function *  evaluations that may be performed by the search.  The search should *  always halt at a point from which none of the trial steps can find  *  improvement to be consistent with the formal theory regarding pattern *  searches. */extern long maxCalls;#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -