- github
- ocaml
- opam-repository
- 89a6ae
- compilers,5.4,dune.3.23.0~alpha2,revdeps,optimization1d.0.6.1
(not at the head of any monitored branch or PR)
2026-04-30 02:03.17: New job: test optimization1d.0.6.1 with dune.3.23.0~alpha2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29824/head (89a6ae888498500bf7c0fc05361da936fc6acacf)
on debian-13-ocaml-5.4/amd64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29824/head" && git reset --hard 89a6ae88
git fetch origin master
git merge --no-edit d1c56642b8ca7e1166c90bfe0c74f38007bbad58
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:00f499d6f7e3b1be41e5b77f79fcd94054ac0247cdd1991aa7156482fe125d44
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn dune.3.23.0~alpha2 3.23.0~alpha2
RUN opam reinstall dune.3.23.0~alpha2; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'dune.3.23.0~alpha2' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall optimization1d.0.6.1; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'optimization1d.0.6.1' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test optimization1d.0.6.1) || true
RUN opam reinstall --with-test --verbose optimization1d.0.6.1; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'optimization1d.0.6.1' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2026-04-30 02:03.17: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:00f499d6f7e3b1be41e5b77f79fcd94054ac0247cdd1991aa7156482fe125d44-dune.3.23.0~alpha2-optimization1d.0.6.1-89a6ae888498500bf7c0fc05361da936fc6acacf"
2026-04-30 02:03.17: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:00f499d6f7e3b1be41e5b77f79fcd94054ac0247cdd1991aa7156482fe125d44)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "opam option solver=builtin-0install && opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMPRECISETRACKING 1)
(env CI true)
(env OPAM_REPO_CI true)
(run (shell "rm -rf opam-repository/"))
(copy (src .) (dst opam-repository/))
(run (shell "opam repository set-url --strict default opam-repository/"))
(run (network host)
(shell "opam update --depexts || true"))
(run (shell "opam pin add -k version -yn dune.3.23.0~alpha2 3.23.0~alpha2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune.3.23.0~alpha2;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'dune.3.23.0~alpha2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall optimization1d.0.6.1;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'optimization1d.0.6.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test optimization1d.0.6.1) || true"))
(run (shell "opam reinstall --with-test --verbose optimization1d.0.6.1;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'optimization1d.0.6.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-04-30 02:03.17: Waiting for resource in pool OCluster
2026-04-30 05:10.00: Waiting for worker…
2026-04-30 05:11.26: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at d1c56642b8 Merge pull request #29820 from jmid/core-0.17.1-bound
Merge made by the 'ort' strategy.
.../chrome-trace/chrome-trace.3.23.0~alpha2/opam | 39 +++++++++++
.../dune-action-plugin.3.23.0~alpha2/opam | 52 ++++++++++++++
.../dune-action-trace.3.23.0~alpha2/opam | 39 +++++++++++
.../dune-build-info.3.23.0~alpha2/opam | 45 ++++++++++++
.../dune-configurator.3.23.0~alpha2/opam | 49 +++++++++++++
packages/dune-glob/dune-glob.3.23.0~alpha2/opam | 42 ++++++++++++
.../dune-private-libs.3.23.0~alpha2/opam | 50 ++++++++++++++
.../dune-rpc-lwt/dune-rpc-lwt.3.23.0~alpha2/opam | 41 +++++++++++
packages/dune-rpc/dune-rpc.3.23.0~alpha2/opam | 44 ++++++++++++
packages/dune-site/dune-site.3.23.0~alpha2/opam | 37 ++++++++++
packages/dune/dune.3.23.0~alpha2/opam | 80 ++++++++++++++++++++++
packages/dyn/dyn.3.23.0~alpha2/opam | 40 +++++++++++
packages/fs-io/fs-io.3.23.0~alpha2/opam | 39 +++++++++++
packages/ocamlc-loc/ocamlc-loc.3.23.0~alpha2/opam | 43 ++++++++++++
packages/ordering/ordering.3.23.0~alpha2/opam | 38 ++++++++++
packages/stdune/stdune.3.23.0~alpha2/opam | 46 +++++++++++++
.../top-closure/top-closure.3.23.0~alpha2/opam | 38 ++++++++++
packages/xdg/xdg.3.23.0~alpha2/opam | 39 +++++++++++
18 files changed, 801 insertions(+)
create mode 100644 packages/chrome-trace/chrome-trace.3.23.0~alpha2/opam
create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.23.0~alpha2/opam
create mode 100644 packages/dune-action-trace/dune-action-trace.3.23.0~alpha2/opam
create mode 100644 packages/dune-build-info/dune-build-info.3.23.0~alpha2/opam
create mode 100644 packages/dune-configurator/dune-configurator.3.23.0~alpha2/opam
create mode 100644 packages/dune-glob/dune-glob.3.23.0~alpha2/opam
create mode 100644 packages/dune-private-libs/dune-private-libs.3.23.0~alpha2/opam
create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.23.0~alpha2/opam
create mode 100644 packages/dune-rpc/dune-rpc.3.23.0~alpha2/opam
create mode 100644 packages/dune-site/dune-site.3.23.0~alpha2/opam
create mode 100644 packages/dune/dune.3.23.0~alpha2/opam
create mode 100644 packages/dyn/dyn.3.23.0~alpha2/opam
create mode 100644 packages/fs-io/fs-io.3.23.0~alpha2/opam
create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.23.0~alpha2/opam
create mode 100644 packages/ordering/ordering.3.23.0~alpha2/opam
create mode 100644 packages/stdune/stdune.3.23.0~alpha2/opam
create mode 100644 packages/top-closure/top-closure.3.23.0~alpha2/opam
create mode 100644 packages/xdg/xdg.3.23.0~alpha2/opam
(from ocaml/opam:debian-13-ocaml-5.4@sha256:00f499d6f7e3b1be41e5b77f79fcd94054ac0247cdd1991aa7156482fe125d44)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:00f499d6f7e3b1be41e5b77f79fcd94054ac0247cdd1991aa7156482fe125d44' locally
docker.io/ocaml/opam@sha256:00f499d6f7e3b1be41e5b77f79fcd94054ac0247cdd1991aa7156482fe125d44: Pulling from ocaml/opam
Digest: sha256:00f499d6f7e3b1be41e5b77f79fcd94054ac0247cdd1991aa7156482fe125d44
Status: Downloaded newer image for ocaml/opam@sha256:00f499d6f7e3b1be41e5b77f79fcd94054ac0247cdd1991aa7156482fe125d44
2026-04-30 05:12.33 ---> using "3ad720629c2266fa8bdd5d2923dac1e3690d78741c5f65fb1eb4d33725df507c" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-30 05:12.33 ---> using "0d128a17914946ba4fe4852d9c905008c6396e0502e54d164cf768f35be583e7" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-30 05:12.33 ---> using "d70296180507e779e1710b2206cbd2ed2063f4f7ba3a5617311725a56ede5942" from cache
/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version 2.5.1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=13
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# invariant ["ocaml-base-compiler" {= "5.4.1"}]
# compiler-packages ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.1
2026-04-30 05:12.33 ---> using "8495d51697191c14a2d936280d33309feb632049461097708f2914849f49e434" from cache
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMPRECISETRACKING 1)
/home/opam: (env CI true)
/home/opam: (env OPAM_REPO_CI true)
/home/opam: (run (shell "rm -rf opam-repository/"))
2026-04-30 05:12.33 ---> using "e71fcfd10a966fea9cbc39c81a8170d118ef6c5bc3e82b827a8fc5873a3b02c4" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-30 05:12.34 ---> using "1a95fcfdbe33d3db5ee6da23907452f21ceefede84b20ffd63d9951a0582315e" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-30 05:12.34 ---> using "c06cea79d066df0e24bbd5a14e3fb6af810f6c2510831dea6a3f9b3abe543bc6" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [129 kB]
- Fetched 219 kB in 0s (1811 kB/s)
- Reading package lists...
2026-04-30 05:12.34 ---> using "79dc76009a07376b7d0a125988001bdfe429c021968c950cc37d4850b4405ed8" from cache
/home/opam: (run (shell "opam pin add -k version -yn dune.3.23.0~alpha2 3.23.0~alpha2"))
dune is now pinned to version 3.23.0~alpha2
2026-04-30 05:12.34 ---> using "0fceafb872b30d0895792b4eaa943f03be2c3da266d1c709c5e111c4f9d0ce56" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune.3.23.0~alpha2;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'dune.3.23.0~alpha2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dune.3.23.0~alpha2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
- install dune 3.23.0~alpha2 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.23.0~alpha2 (cached)
-> installed dune.3.23.0~alpha2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-30 05:12.34 ---> using "33f3806b768ed3bccb769c14ec85f285cc9a11aedea3160e9b687d42e8d992f8" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall optimization1d.0.6.1;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'optimization1d.0.6.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
optimization1d.0.6.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
- install optimization1d 0.6.1
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved optimization1d.0.6.1 (cached)
-> installed optimization1d.0.6.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-30 05:12.38 ---> saved as "5da8b06da4a051d0ac3e19b825e053a9f2fe2e24ad6b8c62ffbb3d7fa849ba1b"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test optimization1d.0.6.1) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile optimization1d 0.6.1
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved optimization1d.0.6.1 (https://opam.ocaml.org/cache)
-> removed optimization1d.0.6.1
-> installed optimization1d.0.6.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-30 05:12.43 ---> saved as "8f3600720f9ed5e7e926c75ddc3e7e2add066705530b6c10a98eb0d1d8962db5"
/home/opam: (run (shell "opam reinstall --with-test --verbose optimization1d.0.6.1;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'optimization1d.0.6.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
The following actions will be performed:
=== recompile 1 package
- recompile optimization1d 0.6.1
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [optimization1d.0.6.1: extract]
-> retrieved optimization1d.0.6.1 (cached)
Processing 2/4: [optimization1d: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "optimization1d" "-j" "255" (CWD=/home/opam/.opam/5.4/.opam-switch/build/optimization1d.0.6.1)
Processing 2/4: [optimization1d: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "optimization1d" "-j" "255" (CWD=/home/opam/.opam/5.4/.opam-switch/build/optimization1d.0.6.1)
- (cd _build/default/tests && ./peak.exe)
- Min at 2 is 0.731059 whereas f(-2) = 0.350463
- => Reminder that Min1D.brent may not find the global minimum.
- (cd _build/default/tests && ./min1D_test.exe)
-
- For function x^3 - 2*x - 5
- in [0,1] min found is at 8.164965811e-01 (err: 2.09608e-10)
- Min function value found -6.0887e+00
- No. of evaluations 12
-
- For function (x^3 - 2*x - 5)^2
- in [2,3] min found is at 2.094551483e+00 (err: 1.51958e-09)
- Min function value found 2.7186e-16
- No. of evaluations 14
-
- For function x^2
- in [1,2] min found is at 1.000000029e+00 (err: 2.85973e-08)
- Min function value found 1.0000e+00
- No. of evaluations 36
-
- For function -x^2
- in [1,2] min found is at 1.999999956e+00 (err: -4.36494e-08)
- Min function value found -4.0000e+00
- No. of evaluations 35
-
- For function (cos(x)-x)^2 - 2
- in [2,3] min found is at 2.000000044e+00 (err: 4.36494e-08)
- Min function value found 3.8378e+00
- No. of evaluations 35
-
- For function (cos(x)-x)^2 - 2
- in [-1,3] min found is at 7.390851380e-01
- Min function value found -2.0000e+00
- No. of evaluations 19
-
- For function (sin(x)-x)^2 + 1
- in [-1,3] min found is at -3.815509567e-03 (err: -0.00381551)
- Min function value found 1.0000e+00
- No. of evaluations 49
- (cd _build/default/tests && ./max1D_test.exe)
-
- For function -x^3 + 2*x + 5
- in [0,1] max found is at 8.164965811e-01
- Max function value found 6.0887e+00
- No. of evaluations 12
- Exact min is at 0.81650
-
- For function -. (x^3 - 2*x - 5)^2
- in [2,3] max found is at 2.094551483e+00
- Max function value found -2.7186e-16
- No. of evaluations 14
- Exact root is 2.0945514815
-
- For function 2 - (cos(x)-x)^2
- in [2,3] max found is at 2.000000044e+00
- Max function value found -3.8378e+00
- No. of evaluations 35
-
- For function 2 - (cos(x)-x)^2
- in [-1,3] max found is at 7.390851380e-01
- Max function value found 2.0000e+00
- No. of evaluations 19
-
- For function -(sin(x)-x)^2 - 1
- in [-1,3] max found is at 3.549029182e-03
- Max function value found -1.0000e+00
- No. of evaluations 49
-> compiled optimization1d.0.6.1
-> removed optimization1d.0.6.1
-> installed optimization1d.0.6.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-30 05:12.47 ---> saved as "107f76f5d02112f96e288c69598cedd05a25fcd64ec7048b707decefcbce082f"
Job succeeded
2026-04-30 05:13.00: Job succeeded