dart_mathopt 0.0.1-dev.1 copy "dart_mathopt: ^0.0.1-dev.1" to clipboard
dart_mathopt: ^0.0.1-dev.1 copied to clipboard

Mathematical optimization for Dart & Flutter (LP/MILP/QP) powered by HiGHS and Clarabel via Rust FFI.

example/lib/main.dart

import 'package:dart_mathopt/dart_mathopt.dart';
import 'package:flutter/material.dart';

import 'screens/problem_list_screen.dart';

/// Showcase app: 12 everyday optimization problems, each with its story,
/// difficulty, modeling notes, and a live native solve.
///
Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await DartMathOpt.init();
  runApp(const MathOptShowcaseApp());
}

class MathOptShowcaseApp extends StatelessWidget {
  const MathOptShowcaseApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Dart-Mathopt',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.purple),
        useMaterial3: true,
      ),
      home: const ProblemListScreen(),
    );
  }
}
0
likes
160
points
0
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Mathematical optimization for Dart & Flutter (LP/MILP/QP) powered by HiGHS and Clarabel via Rust FFI.

Repository (GitHub)
View/report issues

Funding

Consider supporting this project:

github.com
buymeacoffee.com
ipn.eg

License

GPL-3.0 (license)

Dependencies

collection, equatable, flutter_rust_bridge, freezed_annotation, logging, meta

More

Packages that depend on dart_mathopt

Packages that implement dart_mathopt