diff --git a/math/SCIP/Makefile b/math/SCIP/Makefile index 018427969fb0..591587b04719 100644 --- a/math/SCIP/Makefile +++ b/math/SCIP/Makefile @@ -1,44 +1,42 @@ PORTNAME= SCIP -DISTVERSION= 9.2.4 -PORTREVISION= 1 +DISTVERSION= 10.0.2 CATEGORIES= math science MASTER_SITES= https://www.scipopt.org/download/release/ DISTNAME= ${PORTNAME:tl}-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Solver for mixed integer, mixed integer nonlinear programming WWW= https://www.scipopt.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE EXTRACT_DEPENDS= gtar:archivers/gtar LIB_DEPENDS= libgmp.so:math/gmp \ libsoplex.so:math/SoPlex USES= compiler:c11 cmake readline tar:tgz EXTRACT_CMD= gtar USE_LDCONFIG= yes CMAKE_OFF= PAPILO CXXFLAGS+= -I${LOCALBASE}/include/soplex TEST_TARGET= test # 2 tests fail, see https://github.com/scipopt/scip/issues/78 OPTIONS_DEFINE= IPOPT ZIMPL OPTIONS_DEFAULT= IPOPT IPOPT_DESC= Non-linear optimization support via Ipopt IPOPT_USES= fortran pkgconfig IPOPT_CMAKE_BOOL= IPOPT IPOPT_LIB_DEPENDS= libipopt.so:math/ipopt ZIMPL_DESC= Build with Zimpl to translate LP models ZIMPL_CMAKE_BOOL= ZIMPL ZIMPL_LIB_DEPENDS= libzimpl.so:math/zimpl -ZIMPL_BROKEN= see https://github.com/scipopt/scip/issues/4 INSTALL_CONFLICTS= scipoptsuite .include diff --git a/math/SCIP/distinfo b/math/SCIP/distinfo index fb5341e1bd1c..b1eaca5a08ac 100644 --- a/math/SCIP/distinfo +++ b/math/SCIP/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1762273712 -SHA256 (scip-9.2.4.tgz) = d88217393a6f86c18f2957c6d36d90d28287a01473fb7378417ab49ad72a50ea -SIZE (scip-9.2.4.tgz) = 10114136 +TIMESTAMP = 1775786414 +SHA256 (scip-10.0.2.tgz) = 7544647007c9a63a770a71f5884a50ac81da37372bb6958d08588870bd58a50b +SIZE (scip-10.0.2.tgz) = 11287080 diff --git a/math/SCIP/pkg-plist b/math/SCIP/pkg-plist index 6967f116851e..5697c412d70f 100644 --- a/math/SCIP/pkg-plist +++ b/math/SCIP/pkg-plist @@ -1,572 +1,615 @@ bin/scip include/blockmemshell/memory.h include/dijkstra/dijkstra.h include/lpi/lpi.h include/lpi/type_lpi.h +include/lpiexact/lpiexact.h +include/lpiexact/type_lpiexact.h include/objscip/objbenders.h include/objscip/objbenderscut.h include/objscip/objbranchrule.h include/objscip/objcloneable.h include/objscip/objconshdlr.h include/objscip/objcutsel.h include/objscip/objdialog.h include/objscip/objdisp.h include/objscip/objeventhdlr.h +include/objscip/objexprhdlr.h include/objscip/objheur.h +include/objscip/objiisfinder.h include/objscip/objmessagehdlr.h include/objscip/objnodesel.h include/objscip/objpresol.h include/objscip/objpricer.h include/objscip/objprobcloneable.h include/objscip/objprobdata.h include/objscip/objprop.h include/objscip/objreader.h include/objscip/objrelax.h include/objscip/objscip.h include/objscip/objscipdefplugins.h include/objscip/objsepa.h include/objscip/objtable.h include/objscip/objvardata.h include/objscip/type_objcloneable.h include/objscip/type_objprobcloneable.h include/scip/bandit.h include/scip/bandit_epsgreedy.h include/scip/bandit_exp3.h include/scip/bandit_exp3ix.h include/scip/bandit_ucb.h include/scip/benders.h include/scip/benders_default.h include/scip/benderscut.h include/scip/benderscut_feas.h include/scip/benderscut_feasalt.h include/scip/benderscut_int.h include/scip/benderscut_nogood.h include/scip/benderscut_opt.h include/scip/bendersdefcuts.h include/scip/bitencode.h include/scip/boundstore.h include/scip/branch.h include/scip/branch_allfullstrong.h include/scip/branch_cloud.h include/scip/branch_distribution.h include/scip/branch_fullstrong.h include/scip/branch_gomory.h include/scip/branch_inference.h include/scip/branch_leastinf.h include/scip/branch_lookahead.h include/scip/branch_mostinf.h include/scip/branch_multaggr.h include/scip/branch_nodereopt.h include/scip/branch_pscost.h include/scip/branch_random.h include/scip/branch_relpscost.h include/scip/branch_vanillafullstrong.h +include/scip/certificate.h include/scip/clock.h include/scip/compr.h include/scip/compr_largestrepr.h include/scip/compr_weakcompr.h include/scip/concsolver.h include/scip/concsolver_scip.h include/scip/concurrent.h include/scip/config.h include/scip/conflict.h include/scip/conflict_dualproofanalysis.h include/scip/conflict_general.h include/scip/conflict_graphanalysis.h +include/scip/conflict_resolution.h include/scip/conflictstore.h include/scip/cons.h -include/scip/cons_abspower.h include/scip/cons_and.h include/scip/cons_benders.h include/scip/cons_benderslp.h include/scip/cons_bounddisjunction.h include/scip/cons_cardinality.h include/scip/cons_components.h include/scip/cons_conjunction.h include/scip/cons_countsols.h include/scip/cons_cumulative.h include/scip/cons_disjunction.h +include/scip/cons_exactlinear.h +include/scip/cons_exactsol.h include/scip/cons_fixedvar.h include/scip/cons_indicator.h include/scip/cons_integral.h include/scip/cons_knapsack.h include/scip/cons_linear.h include/scip/cons_linking.h include/scip/cons_logicor.h include/scip/cons_nonlinear.h include/scip/cons_or.h include/scip/cons_orbisack.h include/scip/cons_orbitope.h +include/scip/cons_orbitope_full.h +include/scip/cons_orbitope_pp.h include/scip/cons_pseudoboolean.h -include/scip/cons_quadratic.h include/scip/cons_setppc.h -include/scip/cons_soc.h include/scip/cons_sos1.h include/scip/cons_sos2.h include/scip/cons_superindicator.h include/scip/cons_symresack.h include/scip/cons_varbound.h include/scip/cons_xor.h include/scip/cutpool.h include/scip/cuts.h include/scip/cutsel.h include/scip/cutsel_dynamic.h include/scip/cutsel_ensemble.h include/scip/cutsel_hybrid.h +include/scip/datatree.h include/scip/dbldblarith.h include/scip/dcmp.h include/scip/debug.h include/scip/def.h include/scip/dialog.h include/scip/dialog_default.h include/scip/disp.h include/scip/disp_default.h include/scip/event.h include/scip/event_estim.h include/scip/event_globalbnd.h include/scip/event_shadowtree.h include/scip/event_softtimelimit.h include/scip/event_solvingphase.h include/scip/expr.h include/scip/expr_abs.h include/scip/expr_entropy.h include/scip/expr_erf.h include/scip/expr_exp.h include/scip/expr_log.h include/scip/expr_pow.h include/scip/expr_product.h include/scip/expr_sum.h include/scip/expr_trig.h include/scip/expr_value.h include/scip/expr_var.h include/scip/expr_varidx.h include/scip/exprinterpret.h include/scip/heur.h include/scip/heur_actconsdiving.h include/scip/heur_adaptivediving.h include/scip/heur_alns.h include/scip/heur_bound.h include/scip/heur_clique.h include/scip/heur_coefdiving.h include/scip/heur_completesol.h include/scip/heur_conflictdiving.h include/scip/heur_crossover.h include/scip/heur_dins.h include/scip/heur_distributiondiving.h +include/scip/heur_dks.h include/scip/heur_dps.h include/scip/heur_dualval.h include/scip/heur_farkasdiving.h include/scip/heur_feaspump.h include/scip/heur_fixandinfer.h include/scip/heur_fracdiving.h include/scip/heur_gins.h include/scip/heur_guideddiving.h include/scip/heur_indicator.h include/scip/heur_indicatordiving.h include/scip/heur_intdiving.h include/scip/heur_intshifting.h include/scip/heur_linesearchdiving.h include/scip/heur_localbranching.h include/scip/heur_locks.h include/scip/heur_lpface.h include/scip/heur_mpec.h include/scip/heur_multistart.h include/scip/heur_mutation.h include/scip/heur_nlpdiving.h include/scip/heur_objpscostdiving.h include/scip/heur_octane.h include/scip/heur_ofins.h include/scip/heur_oneopt.h include/scip/heur_padm.h include/scip/heur_proximity.h include/scip/heur_pscostdiving.h include/scip/heur_randrounding.h include/scip/heur_rens.h include/scip/heur_reoptsols.h include/scip/heur_repair.h include/scip/heur_rins.h include/scip/heur_rootsoldiving.h include/scip/heur_rounding.h include/scip/heur_scheduler.h include/scip/heur_shiftandpropagate.h include/scip/heur_shifting.h include/scip/heur_simplerounding.h include/scip/heur_subnlp.h include/scip/heur_sync.h include/scip/heur_trivial.h include/scip/heur_trivialnegation.h include/scip/heur_trustregion.h include/scip/heur_trysol.h include/scip/heur_twoopt.h include/scip/heur_undercover.h include/scip/heur_vbounds.h include/scip/heur_veclendiving.h include/scip/heur_zeroobj.h include/scip/heur_zirounding.h include/scip/heuristics.h include/scip/history.h +include/scip/hypergraph.h +include/scip/iisfinder.h +include/scip/iisfinder_greedy.h include/scip/implics.h include/scip/interrupt.h include/scip/intervalarith.h include/scip/lapack_calls.h include/scip/lp.h +include/scip/lpexact.h +include/scip/lpexact_bounding.h include/scip/mem.h include/scip/message.h include/scip/message_default.h include/scip/misc.h +include/scip/multiprecision.hpp include/scip/nlhdlr.h include/scip/nlhdlr_bilinear.h include/scip/nlhdlr_convex.h include/scip/nlhdlr_default.h include/scip/nlhdlr_perspective.h include/scip/nlhdlr_quadratic.h include/scip/nlhdlr_quotient.h include/scip/nlhdlr_signomial.h include/scip/nlhdlr_soc.h include/scip/nlp.h include/scip/nlpi.h include/scip/nlpi_all.h +include/scip/nlpi_conopt.h include/scip/nlpi_filtersqp.h include/scip/nlpi_ipopt.h include/scip/nlpi_worhp.h include/scip/nlpioracle.h include/scip/nodesel.h include/scip/nodesel_bfs.h include/scip/nodesel_breadthfirst.h include/scip/nodesel_dfs.h include/scip/nodesel_estimate.h include/scip/nodesel_hybridestim.h include/scip/nodesel_restartdfs.h include/scip/nodesel_uct.h include/scip/paramset.h include/scip/presol.h include/scip/presol_boundshift.h include/scip/presol_convertinttobin.h include/scip/presol_domcol.h include/scip/presol_dualagg.h include/scip/presol_dualcomp.h include/scip/presol_dualinfer.h include/scip/presol_dualsparsify.h include/scip/presol_gateextraction.h include/scip/presol_implics.h +include/scip/presol_implint.h include/scip/presol_inttobinary.h include/scip/presol_milp.h include/scip/presol_qpkktref.h include/scip/presol_redvub.h include/scip/presol_sparsify.h include/scip/presol_stuffing.h include/scip/presol_trivial.h include/scip/presol_tworowbnd.h include/scip/presolve.h include/scip/pricer.h include/scip/pricestore.h include/scip/primal.h include/scip/prob.h include/scip/prop.h include/scip/prop_dualfix.h include/scip/prop_genvbounds.h include/scip/prop_nlobbt.h include/scip/prop_obbt.h include/scip/prop_probing.h include/scip/prop_pseudoobj.h include/scip/prop_redcost.h include/scip/prop_rootredcost.h include/scip/prop_symmetry.h include/scip/prop_sync.h include/scip/prop_vbounds.h include/scip/pub_bandit.h include/scip/pub_bandit_epsgreedy.h include/scip/pub_bandit_exp3.h include/scip/pub_bandit_exp3ix.h include/scip/pub_bandit_ucb.h include/scip/pub_benders.h include/scip/pub_benderscut.h include/scip/pub_branch.h include/scip/pub_compr.h include/scip/pub_conflict.h include/scip/pub_cons.h include/scip/pub_cutpool.h include/scip/pub_cutsel.h +include/scip/pub_datatree.h include/scip/pub_dcmp.h include/scip/pub_dialog.h include/scip/pub_disp.h include/scip/pub_event.h include/scip/pub_expr.h include/scip/pub_fileio.h include/scip/pub_heur.h include/scip/pub_history.h +include/scip/pub_iisfinder.h include/scip/pub_implics.h include/scip/pub_lp.h +include/scip/pub_lpexact.h include/scip/pub_matrix.h include/scip/pub_message.h include/scip/pub_misc.h include/scip/pub_misc_linear.h include/scip/pub_misc_rowprep.h include/scip/pub_misc_select.h include/scip/pub_misc_sort.h +include/scip/pub_network.h include/scip/pub_nlhdlr.h include/scip/pub_nlp.h include/scip/pub_nlpi.h include/scip/pub_nodesel.h include/scip/pub_paramset.h include/scip/pub_presol.h include/scip/pub_pricer.h include/scip/pub_prop.h include/scip/pub_reader.h include/scip/pub_relax.h include/scip/pub_reopt.h include/scip/pub_sepa.h include/scip/pub_sol.h include/scip/pub_table.h include/scip/pub_tree.h include/scip/pub_var.h +include/scip/rational.h +include/scip/rationalgmp.h include/scip/rbtree.h include/scip/reader.h include/scip/reader_bnd.h include/scip/reader_ccg.h include/scip/reader_cip.h include/scip/reader_cnf.h include/scip/reader_cor.h include/scip/reader_dec.h include/scip/reader_diff.h include/scip/reader_fix.h include/scip/reader_fzn.h include/scip/reader_gms.h include/scip/reader_lp.h include/scip/reader_mps.h include/scip/reader_mst.h include/scip/reader_nl.h include/scip/reader_opb.h include/scip/reader_osil.h include/scip/reader_pbm.h include/scip/reader_pip.h include/scip/reader_ppm.h include/scip/reader_rlp.h include/scip/reader_smps.h include/scip/reader_sol.h include/scip/reader_sto.h include/scip/reader_tim.h include/scip/reader_wbo.h include/scip/reader_zpl.h include/scip/relax.h +include/scip/relax_benders.h include/scip/reopt.h include/scip/retcode.h include/scip/scip.h include/scip/scip_bandit.h include/scip/scip_benders.h include/scip/scip_branch.h +include/scip/scip_certificate.h include/scip/scip_compr.h include/scip/scip_concurrent.h include/scip/scip_conflict.h include/scip/scip_cons.h include/scip/scip_copy.h include/scip/scip_cut.h include/scip/scip_cutsel.h include/scip/scip_datastructures.h +include/scip/scip_datatree.h include/scip/scip_dcmp.h include/scip/scip_debug.h include/scip/scip_dialog.h include/scip/scip_disp.h include/scip/scip_event.h +include/scip/scip_exact.h include/scip/scip_export.h include/scip/scip_expr.h include/scip/scip_general.h include/scip/scip_heur.h +include/scip/scip_iisfinder.h include/scip/scip_lp.h +include/scip/scip_lpexact.h include/scip/scip_mem.h include/scip/scip_message.h include/scip/scip_nlp.h include/scip/scip_nlpi.h include/scip/scip_nodesel.h include/scip/scip_numerics.h include/scip/scip_param.h include/scip/scip_presol.h include/scip/scip_pricer.h include/scip/scip_prob.h include/scip/scip_probing.h include/scip/scip_prop.h include/scip/scip_randnumgen.h include/scip/scip_reader.h include/scip/scip_relax.h include/scip/scip_reopt.h include/scip/scip_sepa.h include/scip/scip_sol.h include/scip/scip_solve.h include/scip/scip_solvingstats.h include/scip/scip_table.h include/scip/scip_timing.h include/scip/scip_tree.h include/scip/scip_validation.h include/scip/scip_var.h include/scip/scipbuildflags.h include/scip/scipcoreplugins.h include/scip/scipdefplugins.h include/scip/scipgithash.h include/scip/scipshell.h include/scip/sepa.h include/scip/sepa_aggregation.h include/scip/sepa_cgmip.h include/scip/sepa_clique.h include/scip/sepa_closecuts.h include/scip/sepa_convexproj.h include/scip/sepa_disjunctive.h include/scip/sepa_eccuts.h +include/scip/sepa_flower.h include/scip/sepa_gauge.h include/scip/sepa_gomory.h include/scip/sepa_impliedbounds.h include/scip/sepa_interminor.h include/scip/sepa_intobj.h include/scip/sepa_lagromory.h include/scip/sepa_mcf.h include/scip/sepa_minor.h include/scip/sepa_mixing.h include/scip/sepa_oddcycle.h include/scip/sepa_rapidlearning.h include/scip/sepa_rlt.h include/scip/sepa_zerohalf.h include/scip/sepastore.h +include/scip/sepastoreexact.h include/scip/set.h include/scip/sol.h include/scip/solve.h include/scip/stat.h include/scip/struct_bandit.h include/scip/struct_benders.h include/scip/struct_benderscut.h include/scip/struct_branch.h include/scip/struct_clock.h include/scip/struct_compr.h include/scip/struct_concsolver.h include/scip/struct_concurrent.h include/scip/struct_conflict.h include/scip/struct_conflictstore.h include/scip/struct_cons.h include/scip/struct_cutpool.h include/scip/struct_cuts.h include/scip/struct_cutsel.h +include/scip/struct_datatree.h include/scip/struct_dcmp.h include/scip/struct_dialog.h include/scip/struct_disp.h include/scip/struct_event.h include/scip/struct_expr.h include/scip/struct_heur.h include/scip/struct_history.h +include/scip/struct_hypergraph.h +include/scip/struct_iisfinder.h include/scip/struct_implics.h include/scip/struct_lp.h +include/scip/struct_lpexact.h include/scip/struct_matrix.h include/scip/struct_mem.h include/scip/struct_message.h include/scip/struct_misc.h include/scip/struct_nlhdlr.h include/scip/struct_nlp.h include/scip/struct_nlpi.h include/scip/struct_nodesel.h include/scip/struct_paramset.h include/scip/struct_presol.h include/scip/struct_pricer.h include/scip/struct_pricestore.h include/scip/struct_primal.h include/scip/struct_prob.h include/scip/struct_prop.h +include/scip/struct_rational.h include/scip/struct_reader.h include/scip/struct_relax.h include/scip/struct_reopt.h include/scip/struct_scip.h include/scip/struct_sepa.h include/scip/struct_sepastore.h include/scip/struct_set.h include/scip/struct_sol.h include/scip/struct_stat.h include/scip/struct_syncstore.h include/scip/struct_table.h include/scip/struct_tree.h include/scip/struct_var.h include/scip/struct_visual.h include/scip/symmetry.h include/scip/symmetry_graph.h include/scip/symmetry_lexred.h include/scip/symmetry_orbital.h include/scip/symmetry_orbitopal.h include/scip/syncstore.h include/scip/table.h include/scip/table_default.h include/scip/tree.h include/scip/treemodel.h include/scip/type_bandit.h include/scip/type_benders.h include/scip/type_benderscut.h include/scip/type_branch.h +include/scip/type_certificate.h include/scip/type_clock.h include/scip/type_compr.h include/scip/type_concsolver.h include/scip/type_concurrent.h include/scip/type_conflict.h include/scip/type_conflictstore.h include/scip/type_cons.h include/scip/type_cutpool.h include/scip/type_cuts.h include/scip/type_cutsel.h +include/scip/type_datatree.h include/scip/type_dcmp.h include/scip/type_dialog.h include/scip/type_disp.h include/scip/type_event.h include/scip/type_expr.h include/scip/type_exprinterpret.h include/scip/type_heur.h include/scip/type_history.h +include/scip/type_hypergraph.h +include/scip/type_iisfinder.h include/scip/type_implics.h include/scip/type_interrupt.h include/scip/type_lp.h +include/scip/type_lpexact.h include/scip/type_matrix.h include/scip/type_mem.h include/scip/type_message.h include/scip/type_misc.h include/scip/type_nlhdlr.h include/scip/type_nlp.h include/scip/type_nlpi.h include/scip/type_nodesel.h include/scip/type_paramset.h include/scip/type_presol.h include/scip/type_pricer.h include/scip/type_pricestore.h include/scip/type_primal.h include/scip/type_prob.h include/scip/type_prop.h +include/scip/type_rational.h include/scip/type_reader.h include/scip/type_relax.h include/scip/type_reopt.h include/scip/type_result.h include/scip/type_retcode.h include/scip/type_scip.h include/scip/type_sepa.h include/scip/type_sepastore.h include/scip/type_set.h include/scip/type_sol.h include/scip/type_stat.h include/scip/type_syncstore.h include/scip/type_table.h include/scip/type_timing.h include/scip/type_tree.h include/scip/type_var.h include/scip/type_visual.h include/scip/var.h include/scip/visual.h -include/symmetry/build_sassy_graph.h +include/symmetry/build_dejavu_graph.h include/symmetry/compute_symmetry.h include/symmetry/struct_symmetry.h include/symmetry/type_symmetry.h include/tclique/tclique.h include/tclique/tclique_coloring.h include/tclique/tclique_def.h include/tinycthread/tinycthread.h include/tpi/def_openmp.h include/tpi/tpi.h include/tpi/type_tpi.h include/xml/xml.h include/xml/xmldef.h +lib/cmake/scip/FindGMP.cmake lib/cmake/scip/scip-config-version.cmake lib/cmake/scip/scip-config.cmake lib/cmake/scip/scip-targets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/scip/scip-targets.cmake lib/libscip.so -lib/libscip.so.9.2 -lib/libscip.so.9.2.4.0 +lib/libscip.so.10.0 +lib/libscip.so.10.0.2 diff --git a/math/minizinc/Makefile b/math/minizinc/Makefile index 39b4ecf9fd91..64e99ff3ed2c 100644 --- a/math/minizinc/Makefile +++ b/math/minizinc/Makefile @@ -1,44 +1,45 @@ PORTNAME= minizinc DISTVERSION= 2.8.7 +PORTREVISION= 1 CATEGORIES= math lang MAINTAINER= yuri@FreeBSD.org COMMENT= Constraint modeling language WWW= https://www.minizinc.org/ \ https://github.com/MiniZinc LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt CONFLICTS_BUILD= CoinMP LIB_DEPENDS= libCbc.so:math/cbc \ libCgl.so:math/cgl \ libCoinUtils.so:math/coinutils \ libgecodekernel.so:math/gecode \ libOsi.so:math/osi \ libOsiClp.so:math/clp USES= bison cmake compiler:c++11-lang USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= MiniZinc GH_PROJECT= libminizinc CMAKE_ON= BUILD_SHARED_LIBS CXXFLAGS+= -DFREEBSD_MZN_STDLIB_DIR="\\\"${DATADIR}\\\"" CXXFLAGS+= -I${LOCALBASE}/include/highs # workaround for https://github.com/MiniZinc/libminizinc/issues/744 LDFLAGS+= -L${LOCALBASE}/lib # workaround for https://github.com/MiniZinc/libminizinc/issues/744 OPTIONS_DEFINE= WITH_SCIP WITH_SCIP_DESC= Build with the SCIP optimizer WITH_SCIP_CMAKE_BOOL= USE_SCIP WITH_SCIP_LIB_DEPENDS= libscip.so:math/SCIP/ post-patch: ${REINPLACE_CMD} -e 's|string std_lib_dir;|string std_lib_dir = "${DATADIR}";|' ${WRKSRC}/mzn2doc.cpp .include diff --git a/math/or-tools/Makefile b/math/or-tools/Makefile index 127fd1d299cd..c43816ca5104 100644 --- a/math/or-tools/Makefile +++ b/math/or-tools/Makefile @@ -1,75 +1,75 @@ PORTNAME= or-tools DISTVERSIONPREFIX= v DISTVERSION= 9.14 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Google's Operations Research tools WWW= https://github.com/google/or-tools LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE PATCH_DEPENDS= gsed:textproc/gsed xBUILD_DEPENDS= benchmark>0:devel/benchmark \ googletest>0:devel/googletest LIB_DEPENDS= libabsl_base.so:devel/abseil \ libbzip2.so:misc/vxl \ libCbc.so:math/cbc \ libCgl.so:math/cgl \ libcoinasl.so:math/asl \ libcoinmumps.so:math/coin-or-mumps \ libCoinUtils.so:math/coinutils \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libhighs.so:math/highs \ libnauty.so:math/nauty \ libopenblas.so:math/openblas \ libOsi.so:math/osi \ libOsiClp.so:math/clp \ libprotobuf.so:devel/protobuf \ libre2.so:devel/re2 TEST_DEPENDS= googletest>0:devel/googletest USES= blaslapack cmake:testing compiler:c++17-lang eigen:3 pkgconfig USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= google CMAKE_OFF= BUILD_PYTHON BUILD_DEPS INSTALL_BUILD_DEPS \ BUILD_TESTING BUILD_EXAMPLES BUILD_SAMPLES CMAKE_ON= BUILD_CXX \ USE_PDLP CMAKE_TESTING_ON= BUILD_TESTING BUILD_EXAMPLES BUILD_CXX_EXAMPLES CONFIGURE_ENV= UNIX_CBC_DIR=${LOCALBASE} UNIX_CLP_DIR=${LOCALBASE} OPTIONS_DEFINE= DOCS FLATZINC SCIP OPTIONS_DEFAULT= FLATZINC # SCIP OPTIONS_SUB= yes FLATZINC_DESC= Build FlatZinc - MiniZinc interface FLATZINC_CMAKE_BOOL= BUILD_FLATZINC SCIP_DESC= Use the SCIP solver # SCIP package isn't built because of licensing restrictions SCIP_CMAKE_BOOL= USE_SCIP SCIP_LIB_DEPENDS= libscip.so:math/SCIP SCIP_BROKN= configure fails, see https://github.com/google/or-tools/issues/4912 DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/-//} PORTDOCS= * post-patch: @${REINPLACE_CMD} -e '17,19d' ${WRKSRC}/ortools/base/logging.h post-install: @${FIND} ${STAGEDIR}${PREFIX} -type d -empty -delete # tests as of 9.12-20250219: 97% tests passed, 5 tests failed out of 163: # Tests cxx_cpp_linear_programming and cxx_cpp_integer_programming abort: https://github.com/google/or-tools/issues/4555 # 13 tests fail whuke running the math_opt_solvers_cp_sat_solver_test test executable: https://github.com/google/or-tools/issues/4556 # The test SimpleMaxFlowTest.ProblematicProblemWithMaxCapacity (graph_max_flow_test) fails to find test data when it is built outsource: https://github.com/google/or-tools/issues/4557 .include diff --git a/math/polymake/Makefile b/math/polymake/Makefile index af2e1486ce9a..494b05958e72 100644 --- a/math/polymake/Makefile +++ b/math/polymake/Makefile @@ -1,205 +1,205 @@ PORTNAME= polymake DISTVERSION= 4.13 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= math MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/V${DISTVERSION}/ \ https://polymake.org/lib/exe/fetch.php/download/ DISTNAME= ${PORTNAME}-${DISTVERSION}-minimal MAINTAINER= bsd@philippost.de COMMENT= Software package for research in polyhedral geometry WWW= https://www.polymake.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= boost-libs>=1.72:devel/boost-libs \ ninja:devel/ninja \ permlib>=0.2.9:math/permlib \ p5-XML-SAX>=1.02:textproc/p5-XML-SAX \ p5-XML-Writer>=0.900:textproc/p5-XML-Writer \ p5-Term-ReadLine-Gnu>=1.37:devel/p5-Term-ReadLine-Gnu \ p5-Term-ReadKey>=2.38:devel/p5-Term-ReadKey \ p5-JSON>=2.97:converters/p5-JSON LIB_DEPENDS= libcddgmp.so:math/cddlib \ libflint.so:math/flint2 \ libgmpxx.so:math/gmp \ libmpfr.so:math/mpfr RUN_DEPENDS= bash>=5.0:shells/bash \ boost-libs>=1.72:devel/boost-libs \ permlib>=0.2.9:math/permlib \ p5-XML-SAX>=1.02:textproc/p5-XML-SAX \ p5-XML-Writer>=0.900:textproc/p5-XML-Writer \ p5-Term-ReadLine-Gnu>=1.37:devel/p5-Term-ReadLine-Gnu \ p5-Term-ReadKey>=2.38:devel/p5-Term-ReadKey \ p5-JSON>=2.97:converters/p5-JSON USES= compiler:c++14-lang gmake gnome perl5 readline shebangfix \ tar:bzip2 USE_GNOME= libxml2 libxslt USE_LDCONFIG= ${PREFIX}/lib USE_PERL5= build run SHEBANG_FILES= resources/host-agent/bin/env resources/host-agent/bin/polymake SHEBANG_GLOB= *.pl *.sh # polymake's configure script expects options to be disabled by --without-option # and most options to be enabled by --with-option=DIR HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} \ --exec-prefix=${PREFIX} \ --bindir=${PREFIX}/bin \ --includedir=${PREFIX}/include \ --libdir=${PREFIX}/lib \ --libexecdir=${PREFIX}/libexec/polymake \ --datadir=${PREFIX}/share/polymake \ --docdir=${DOCSDIR} \ --without-prereq \ --with-libcxx \ --with-cdd=${LOCALBASE} \ --with-flint=${LOCALBASE} \ --with-permlib=${LOCALBASE}/lib \ --without-java \ --without-javaview \ --without-native \ --without-sympol CONFIGURE_LOG= build/bundled.log # Optional features; SoPlex defaults to off due to licencsing and SCIP defaults # to off due to a dependency on libsoplex.so. OPTIONS_DEFINE= LRS NORMALIZ OPENMP OPTIMIZED_CFLAGS PPL SCIP SINGULAR SOPLEX TESTS OPTIONS_DEFAULT= BLISS LRS NORMALIZ OPENMP OPTIMIZED_CFLAGS PPL SINGULAR # Exlude lrslib on i386 and powerpc because it is marked BROKEN for those # architectures OPTIONS_EXCLUDE_i386= LRS OPTIONS_EXCLUDE_powerpc= LRS OPTIONS_SUB= yes # polymake needs either math/bliss or math/nauty to compute graph automorphism # groups OPTIONS_SINGLE= GRAPH OPTIONS_SINGLE_GRAPH= BLISS NAUTY BLISS_DESC= Compute graph automorphism groups using bliss GRAPH_DESC= Graph automorphism groups LRS_DESC= Convex hull computation and vertex enumeration NAUTY_DESC= Compute graph automorphism groups using nauty NORMALIZ_DESC= Computations in affine monoids and lattice polytopes PPL_DESC= Manipulation of convex polyhedra SCIP_DESC= Solver for mixed integer linear and nonlinear problems SINGULAR_DESC= Computation of Groebner bases SOPLEX_DESC= Solver for linear programming problems TESTS_DESC= Run bundled self tests after build BLISS_CONFIGURE_ON= --with-bliss=${LOCALBASE} BLISS_CONFIGURE_OFF= --without-bliss BLISS_BUILD_DEPENDS= bliss-graph-tool>=0.73:math/bliss # does it need the tool or the library? LIB_DEPENDS should be used in the latter case. BLISS_RUN_DEPENDS= bliss-graph-tool>=0.73:math/bliss NAUTY_CONFIGURE_ON= --with-nauty=${LOCALBASE} NAUTY_CONFIGURE_OFF= --without-nauty NAUTY_LIB_DEPENDS= libnauty.so:math/nauty LRS_CONFIGURE_ON= --with-lrs=${LOCALBASE} \ --with-lrs-include=${LOCALBASE}/include/lrslib LRS_CONFIGURE_OFF= --without-lrs LRS_LIB_DEPENDS= liblrs.so:math/lrslib NORMALIZ_CONFIGURE_ON= --with-libnormaliz=${LOCALBASE} NORMALIZ_CONFIGURE_OFF= --without-libnormaliz NORMALIZ_LIB_DEPENDS= libnormaliz.so:math/libnormaliz OPENMP_CONFIGURE_OFF= --without-openmp OPTIMIZED_CFLAGS_CFLAGS= -O3 PPL_CONFIGURE_ON= --with-ppl=${LOCALBASE} PPL_CONFIGURE_OFF= --without-ppl PPL_LIB_DEPENDS= libppl.so:devel/ppl SCIP_CONFIGURE_ON= --with-scip=${LOCALBASE} SCIP_CONFIGURE_OFF= --without-scip SCIP_LIB_DEPENDS= libscip.so:math/SCIP SINGULAR_CONFIGURE_ON= --with-singular=${LOCALBASE} SINGULAR_CONFIGURE_OFF= --without-singular SINGULAR_LIB_DEPENDS= libSingular.so:math/singular SOPLEX_CONFIGURE_ON= --with-soplex=${LOCALBASE} SOPLEX_CONFIGURE_OFF= --without-soplex SOPLEX_LIB_DEPENDS= libsoplex-pic.so:math/SoPlex TESTS_VARS= USE_PERL5+=test # The port uses the minimal distribution tarball without bundled libraries. # Set WRKSRC accordingly. WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} .include # Deal with site specific installation directory # polymake installs a perlxs module which depends on the perl configuration PERL_ARCHNAME= ${:!${PERL} -E 'use Config; print "\$Config::Config{archname}";'!} PLIST_FILES= libexec/polymake/perlx/${PERL_VERSION}/${PERL_ARCHNAME}/auto/Polymake/Ext/Ext.so # Keep track of the major version DISTVERSION_MAJ= ${:!expr ${DISTVERSION} : '\([0-9]*\).*'!} post-install: ${RLN} ${STAGEDIR}${PREFIX}/lib/libpolymake.so.${DISTVERSION} \ ${STAGEDIR}${PREFIX}/lib/libpolymake.so.${DISTVERSION_MAJ} ${RLN} ${STAGEDIR}${PREFIX}/lib/libpolymake.so.${DISTVERSION} \ ${STAGEDIR}${PREFIX}/lib/libpolymake.so ${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/lib/libpolymake.so.${DISTVERSION} \ .for _lp in libpolymake-apps libpolymake-apps-rt ${RLN} ${STAGEDIR}${PREFIX}/lib/${_lp}.so.${DISTVERSION} \ ${STAGEDIR}${PREFIX}/lib/${_lp}.so.${DISTVERSION_MAJ} ${RLN} ${STAGEDIR}${PREFIX}/lib/${_lp}.so.${DISTVERSION} \ ${STAGEDIR}${PREFIX}/lib/${_lp}.so ${RLN} ${STAGEDIR}${PREFIX}/lib/${_lp}.so.${DISTVERSION} \ ${STAGEDIR}${PREFIX}/libexec/polymake/lib/${_lp}.so.${DISTVERSION_MAJ} ${RLN} ${STAGEDIR}${PREFIX}/lib/${_lp}.so.${DISTVERSION} \ ${STAGEDIR}${PREFIX}/libexec/polymake/lib/${_lp}.so ${RLN} ${STAGEDIR}${PREFIX}/libexec/polymake/lib/${_lp}.so.${DISTVERSION} \ ${STAGEDIR}${PREFIX}/libexec/polymake/lib/${_lp}.so.${DISTVERSION_MAJ} ${RLN} ${STAGEDIR}${PREFIX}/libexec/polymake/lib/${_lp}.so.${DISTVERSION} \ ${STAGEDIR}${PREFIX}/libexec/polymake/lib/${_lp}.so # strip the libraries ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/polymake/lib/${_lp}.so.${DISTVERSION} .endfor ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/polymake/perlx/${PERL_VERSION}/${PERL_ARCHNAME}/auto/Polymake/Ext/Ext.so .for l in common fan fulton graph group matroid polytope topaz tropical ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/polymake/lib/${l}.so .endfor # only strip libexec/polymake/lib/ideal.so iff SINGULAR=on, if SINGULAR=off it # is an empty file and stripping fails .if ${PORT_OPTIONS:MSINGULAR} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/polymake/lib/ideal.so .endif .for lp in libpolymake-apps libpolymake-apps-rt ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/polymake/lib/${lp}.so.${DISTVERSION} .endfor post-install-TESTS-on: test # Set HOME=${WRKDIR} to prevent polymake writing its .polymake directory outside # WRKDIR. test: @cd ${WRKSRC} && HOME=${WRKDIR} perl/polymake --script run_testcases .include .if ${PERL_LEVEL} >= 504200 BROKEN= polymake has not been checked for compatibility with perl 5.42 or newer .endif .include diff --git a/math/py-or-tools/Makefile b/math/py-or-tools/Makefile index 21705218b434..c9a2ace21392 100644 --- a/math/py-or-tools/Makefile +++ b/math/py-or-tools/Makefile @@ -1,89 +1,89 @@ PORTNAME= or-tools DISTVERSIONPREFIX= v DISTVERSION= 9.6 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= math PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Google's Operations Research tools (Python binding) WWW= https://github.com/google/or-tools LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_armv7= SWIG wrapped code invalid in 32 bit architecture, regenerate code using -DSWIGWORDSIZE32 BROKEN_i386= SWIG wrapped code invalid in 32 bit architecture, regenerate code using -DSWIGWORDSIZE32 # see https://github.com/google/or-tools/issues/2130 PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy1>=1.16:math/py-numpy1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}absl-py>0:devel/py-absl-py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protobuf>0:devel/py-protobuf@${PY_FLAVOR} BUILD_DEPENDS= ${PY_DEPENDS} \ ${PY_SETUPTOOLS} \ pybind11>0:devel/pybind11 \ protoc-gen-mypy:devel/py-mypy-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}virtualenv>0:devel/py-virtualenv@${PY_FLAVOR} \ swig:devel/swig LIB_DEPENDS= libabsl_base.so:devel/abseil \ libCbc.so:math/cbc \ libCgl.so:math/cgl \ libcoinasl.so:math/asl \ libcoinmumps.so:math/coin-or-mumps \ libCoinUtils.so:math/coinutils \ libnauty.so:math/nauty \ libopenblas.so:math/openblas \ libOsi.so:math/osi \ libOsiClp.so:math/clp \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libprotobuf.so:devel/protobuf \ libre2.so:devel/re2 RUN_DEPENDS= ${PY_DEPENDS} USES= blaslapack cmake:insource compiler:c++17-lang eigen:3 pkgconfig python USE_PYTHON= flavors pytest # tests fail, see https://github.com/google/or-tools/issues/3464 USE_GITHUB= yes GH_ACCOUNT= google CMAKE_OFF= BUILD_DEPS BUILD_pybind11 INSTALL_BUILD_DEPS BUILD_TESTING BUILD_EXAMPLES CMAKE_ON= BUILD_PYTHON CMAKE_ARGS= -DSWIG_EXECUTABLE=${LOCALBASE}/bin/swig -DFREEBSD_PYTHON_VER=${PYTHON_VER} CONFIGURE_ENV= UNIX_CBC_DIR=${LOCALBASE} UNIX_CLP_DIR=${LOCALBASE} BUILD_ENV= UNIX_CBC_DIR=${LOCALBASE} UNIX_CLP_DIR=${LOCALBASE} TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} OPTIONS_DEFINE= SCIP SCIP_DESC= Use the SCIP solver # SCIP package isn't built because of licensing restrictions SCIP_CMAKE_BOOL= USE_SCIP SCIP_LIB_DEPENDS= libscip.so:math/SCIP post-patch: @${REINPLACE_CMD} -e '/absl::container/s,^,#,' \ ${WRKSRC}/ortools/constraint_solver/CMakeLists.txt \ ${WRKSRC}/ortools/glop/CMakeLists.txt \ ${WRKSRC}/ortools/linear_solver/CMakeLists.txt \ ${WRKSRC}/ortools/sat/CMakeLists.txt @${REINPLACE_CMD} -e '17,19d ; /AbslStringify/,+10d' \ ${WRKSRC}/ortools/base/logging.h do-install: # by default cmake installs the whole or-tools project without the python part, so extract the wheel and install python files manually here ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} cd ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} && \ unzip ${BUILD_WRKSRC}/python/dist/ortools-${DISTVERSION}*.whl && \ ${RM} -rf ortools-*.dist-info ${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name "*.so" -o -name "*.so.*" | ${XARGS} ${STRIP_CMD} run-examples: # one of the examples fail: https://github.com/google/or-tools/issues/3463 .for e in arc_flow_cutting_stock_sat.py bus_driver_scheduling_sat.py cover_rectangle_sat.py cvrptw_plot.py qubo_sat.py # list is from examples/python/CMakeLists.txt @cd ${WRKSRC}/examples/python && \ ${ECHO} "==> Running ${PORTNAME} test ${e} ..." && \ ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${e} && \ ${ECHO} "... test ${e} succeeded" .endfor .include