Files
ojalgo/ojalgo.spec
Fridrich Strba 6a8f0b1eb5 Accepting request 1237955 from home:urbic:branches:Java:packages
- Update to v55.1.0
  * Added
    ~ org.ojalgo.data
      + New package org.ojalgo.data.cluster with k-means and greedy
        clustering algorithms implemented, as well as
        generalisations, specialisations and combinations of those.
      + DataProcessors now has a method Transformation2D
        newRowsTransformer(Function<SampleSet, UnaryFunction>) to
        complement the existing newColumnsTransformer.
    ~ org.ojalgo.random
      + SampleSet gained a couple of methods; getMidrange() and
        getRange().
  * Changed
    ~ org.ojalgo.array
      + Sorting is no longer parallel/multi-threaded. The previous
        implementations made use of the common ForkJoinPool.
    ~ org.ojalgo.data
      + Creating a JMX bean (to monitor throughput) with BatchNode
        is now optional, and the default is to not create them.
        (Used to always create them.)
    ~ org.ojalgo.netio
      + The FromFileReader and ToFileWriter interfaces and their
        implementations used to extend and delegate to code in the
        org.ojalgo.type.function package. Much of what was in that
        package has been moved to and merged with stuff in the
        org.ojalgo.netio package.
      + The FromFileReader.Builder and ToFileWriter.Builder
        builders now use generic "file" types. They used to be
        implemented in terms of Java's File, but can now be
        anything like Path or ojAlgo's own SegmentedFile,
        ShardedFile or InMemoryFile.
      + The DataInterpreter gained some additional standard
        interpreters, as well as utilities to convert back and
        forth between byte[].
    ~ org.ojalgo.random
      + SamleSet no longer makes use of parallel/multi-threaded
        sorting – to avoid making use of the common ForkJoinPool.
    ~ org.ojalgo.type
      + The AutoSupplier and AutoConsumer interfaces are removed.
        They used to provide abstract/generalised functionality for
        FromFileReader and ToFileWriter in the org.ojalgo.netio
        package. All features and functionality still exists, but
        in terms of the more specific/concrete FromFileReader and
        ToFileWriter. If you directly referenced any of the various
        utility methods in AutoSupplier or AutoConsumer they're now
        gone. They primarily existed so that FromFileReader and
        ToFileWriter could access them (from another package). The
        features and functionality they provided are now available
        through other classes in the org.ojalgo.netio package –
        like FromFileReader.Builder and ToFileWriter.Builder.
  * Fixed
    ~ org.ojalgo.data
      + In DataProcessors, the CENTER_AND_SCALE transformation
        didn't do exactly what the documentation said it. That's
        been fixed.
- Update to v55.0.2
  * Added
    ~ org.ojalgo.type
      + A new cache implementation named ForgetfulMap. To save you
        adding a dependency on Caffeine or similar.
    ~ org.ojalgo.optimisation
      + There is a new OptimisationService implementation with
        which you can queue up optimisation problems to have them
        solved. This service is (will be) configurable regarding
        how many problems to work on concurrently, and how many
        threads the solvers can use, among other things.
  * Changed
    ~ org.ojalgo.optimisation
      + Refactoring and additions to what's in the
        org.ojalgo.optimisation.service package. They're breaking
        changes, but most likely no one outside Optimatika used
        this.
      + Minor internal changes to how the IntegerSolver works.
        There's now an equal number of worker threads per
        worker-strategy.
  * Deprecated
    ~ org.ojalgo.type
      + TypeCache is replaced by ForgetfulMap.ValueCache.
- Update to v55.0.1
  * Added
    ~ org.ojalgo.concurrent
      + Addition to ProcessingService that simplify concurrently
        taking items from a BlockingQueue.
  * Changed
    ~ org.ojalgo.random
      + Refactored SampleSet (internally) to be better aligned with
        recent changes to other parts of the library. Primarily the
        class now uses int indices for all internal calculations.
        Also added a new java.util.stream.Collector implementation
        to simplify SampleSet creation from streams.
  * Fixed
    ~ org.ojalgo.optimisation
      + Fixed a bug where the (new) LP solver would fail to
        recognise unbounded problems and instead return a solution
        with infinite values, stating it to be optimal.

OBS-URL: https://build.opensuse.org/request/show/1237955
OBS-URL: https://build.opensuse.org/package/show/Java:packages/ojalgo?expand=0&rev=6
2025-01-15 12:18:08 +00:00

67 lines
1.9 KiB
RPMSpec

#
# spec file for package ojalgo
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: ojalgo
Version: 55.1.0
Release: 0
Summary: Java code that has to do with mathematics, linear algebra and optimisation
License: MIT
Group: Development/Libraries/Java
URL: https://ojalgo.org/
Source0: https://github.com/optimatika/ojAlgo/archive/refs/tags/v%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: maven-local
BuildArch: noarch
%description
oj! Algorithms ojAlgo is Open Source Java code that has to do with
mathematics, linear algebra and optimisation.
%package javadoc
Summary: API documentation for %{name}
Group: Documentation/HTML
%description javadoc
API documentation for %{name}.
%prep
%setup -q -n ojAlgo-%{version}
%pom_remove_plugin org.sonatype.plugins:nexus-staging-maven-plugin
%pom_remove_plugin :maven-source-plugin
%pom_remove_plugin :maven-javadoc-plugin
%{mvn_file} : %{name}
%build
%{mvn_build} -f -- \
-Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ)
%install
%mvn_install
%fdupes %{buildroot}%{_javadocdir}/%{name}
%files -f .mfiles
%license LICENSE
%doc {CHANGELOG,README}.md
%files javadoc -f .mfiles-javadoc
%license LICENSE
%changelog