Download Latest Version DBS017.7z (1.7 MB)
Email in envelope

Get an email when there's a new version of csv4students

Home / BeatDBS
Name Modified Size InfoDownloads / Week
Parent folder
DBSrefs 2025-05-26
DBSimage 2025-05-26
DBSolvers 2025-05-25
DBS017.7z 2025-06-16 1.7 MB
DBS016.7z 2025-06-16 615.4 kB
DBS015.7z 2025-06-01 412.7 kB
DBS014.7z 2025-05-31 632.6 kB
DBS013.7z 2025-05-31 56.9 kB
DBS012.7z 2025-05-23 1.2 kB
DBS011.7z 2025-05-17 453.7 kB
DBS010.7z 2025-05-16 66.3 kB
DBS009.7z 2025-05-10 815.1 kB
DBS008.7z 2025-05-10 763 Bytes
DBS007.7z 2025-05-09 2.6 kB
DBS006.7z 2025-05-07 949 Bytes
DBS005.7z 2025-05-05 848 Bytes
readme.txt 2025-05-04 2.2 kB
DBS004.7z 2025-05-04 74.7 kB
DBS002P3.7z 2025-05-03 1.7 kB
DBS001.7z 2025-04-28 1.1 kB
DBS002.7z 2025-04-28 988 Bytes
Totals: 21 Items   4.9 MB 5
### 必要的安装软件包

## 优化建模语言
using JuMP,AmplNLWriter
## 数据处理包
using CSV,DataFrames

## 优化求解器
# 非线性优化求解器
using Ipopt
# (混合整数)线性规划求解器
using HiGHS

##################################
###Setting for Ipopt###START
# 创建带有 Ipopt 的优化模型
DBS = Model(Ipopt.Optimizer)

## 更多 Ipopt 的设置: https://coin-or.github.io/Ipopt/OPTIONS.html
# 注意:如果不设置额外的 linear_solver, 默认是 MUMPS

# 最大迭代次数
set_attribute(DBS, "max_iter", 10000)

# 确定要使用的障碍参数更新策略
set_attribute(DBS, "mu_strategy", "adaptive")

##############https://www.hsl.rl.ac.uk##############################
# 设置 linear_solver 为 ma86 ma57 ma97 ma27 ma77
########Problem size, Parallel
# ma57: Small/Medium,Threaded BLAS -> Sparse symmetric system: multifrontal method
# ma77: Huge,Limited -> Sparse symmetric system: multifrontal out of core
# ma86: Large,Highly -> Sparse solver for real and complex indefinite matrices using OpenMP
# ma97: Small/Medium/Large,Yes -> Bit-compatible parallel sparse symmetric/Hermitian solver using OpenMP

# 设置 动态链接库 libhsl.dll
set_attribute(DBS, "hsllib", "YOUR_PATH\\coin-hsl\\bin\\libhsl.dll")
# 设置 linear_solver 为 ma86 > ma57 > ma97 > ma27 > ma77 
set_attribute(DBS, "linear_solver", "ma57")

##############https://panua.ch/pardiso##############################
### 需申请一个月试用或者是学术购买
# 设置 动态链接库 libpardiso.dll
set_attribute(DBS, "hsllib", "YOUR_PATH\\lib\\libpardiso.dll")
# 设置 linear_solver 为 pardiso
set_attribute(DBS, "linear_solver", "pardiso")
# 设置 显示 Pardiso 的求解过程
set_attribute(DBS, "pardiso_msglvl", 1)
###Setting for Ipopt### END
#################################
#################################
###Setting for HiGHS###START
# 创建带有 HiGHS 的优化模型
DBS = Model(HiGHS.Optimizer)

# 设置开启 预处理
set_attribute(DBS, "presolve", "on")
# 设置开启 并行
set_attribute(DBS, "parallel", "on")

###Setting for HiGHS### END





Source: readme.txt, updated 2025-05-04